Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


Update: Winsock Cheat sheet w data buffer

This topic is 5961 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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]

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!