borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (UDP Flood effect? Slows down network?)Next Topic (wininet API problem) New Topic New Poll Post Reply
AndreaVB Forum : Network : Winsock
Poster Message
PuremorningUK
Level: Guest


icon Winsock

Hi...

I'm having trouble with winsock and VB5.
The clients I create seem to hang VB5 when i stop them... either with a stop from the VB5 development program or from a button on the form. CTRL break will pause, but stop just hangs VB and need to close down.
Im running XP
I have service pack three on VB
I'm closing the socket etc
any ideas?????????????/
cheers
PuremorningUK@aol.com
x

30-06-2004 at 07:31 PM
| Quote Reply
herbietmac
Level: Guest

icon Re: Winsock

I know this sounds obvious but...double-check to ensure that your socket is actually closed by looking at Winsock.state.

It sounds like an implementation error that your program is bypassing the close socket code when you stop.  A quick way to check would be to add a msgbox call to your form.unload event that displays the current status of the winsock control.

06-07-2004 at 02:09 PM
| Quote Reply
AndreaVB Forum : Network : Winsock
Previous Topic (UDP Flood effect? Slows down network?)Next Topic (wininet API problem) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder