Jump to content
  • Advertisement


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


winsock error 10054 in VB

This topic is 5749 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

perhaps i''m a newb for not using C++, but in any case, here it goes: So, i have a program in VB, and there is a client side and a server side, using UDP. After a number of packets are sent back and forth, the client side crashes with teh error 10054: "connection closed by remote side" or something like that. I read the microsoft knowledge base article describing the bug dealing with win2k (and with winxp im assuming). In the article, the resolution says: Private Sub Winsock1_DataArrival(ByVal bytesTotal As Long) Dim szData As String On Error Resume Next Winsock1.GetData szData If Err Then '' handle the error here End if End Sub HOW do i handle the error? thanks in advance

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!