Talkback #1 written by Jesse on 2005-07-26.
The basic outline of a netcode transaction goes like this. (Between 2 copies of verge, one on the client, one on the server.) In the server: int socket = GetConnection(); In the client: int socket = Connect(server_ip); You can then check with SocketConnected(socket) to see if that was successful (on both ends.) Here, either of them can SocketSend* or SocketGet* to send data back and forth. They can also check to see if there is data with SocketHasData(socket). Then they both call SocketClose(socket), and you're done. Please post further questions to the forums.
Doc Nav |
Your docs |