User Tools

Site Tools


tutorial:side

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
tutorial:side [2019/05/26 15:13] – [Logical Server] Made things a little easier to understand jamieswhiteshirttutorial:side [2019/05/26 15:28] – [Communication] Add information about in-memory vs. networked packets jamieswhiteshirt
Line 71: Line 71:
 ===== Communication===== ===== Communication=====
  
-The only correct way to exchange data between a client and a server are packets. The packets (which [[https://wiki.vg]] documents) are sent between logical clients and logical servers, not physical sides. Mods can add packets to transfer custom information between two logical sides.+The only correct way to exchange data between logical clients and servers by exchanging packets. The packets (as documented on [[https://wiki.vg]]) are sent between logical clients and logical servers, not physical sides. Mods can add packets to transfer custom information between two logical sides. Packets are exchanged in-memory for a logical client connected to its own integrated server, and exchanged over a networking protocol otherwise.
  
 Logical clients send C2S (Client-To-Server) packets to the logical server. Logical clients send C2S (Client-To-Server) packets to the logical server.
 The logical server sends S2C (Server-To-Client) packets the logical clients. The logical server sends S2C (Server-To-Client) packets the logical clients.
-Packets are sent be a write method in a network thread and received by a call to a read method in a network thread.+Packets are sent by a write method in a network thread and received by a call to a read method in a network thread.
  
 For more details on how to handle networking, see [[tutorial:networking|this article]]. For more details on how to handle networking, see [[tutorial:networking|this article]].
tutorial/side.txt · Last modified: 2022/04/13 04:32 by 127.0.0.1