Advertisement

Update: Winsock Cheat sheet w data buffer

Started by July 25, 2002 08:57 PM
-1 comments, last by KalvinB 22 years, 6 months ago
Winsock Tutorial Generichelp for the client is now different than generichelp for the server. Before you could just send and recieve messages. Now it buffers the data so you don't have to worry about partial packets or multiple messages per packet. If you spot any bugs or make any improvements post them. One big change is the SendData method which now only puts the message into the connection's message buffer. Calling FlushData() will send out all the messages in each of the connection's message buffer. It's saves quite a bit of bandwidth that way if you have more than one message you need to send. Ben IcarusIndie.com [ The Rabbit Hole | The Labyrinth | DevZone | Gang Wars | The Wall | Hosting | Dot Com ] [edited by - KalvinB on July 25, 2002 10:03:21 PM]

This topic is closed to new replies.

Advertisement