Archived

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

winsock error 10054 in VB

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