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 (Get MAC address)Next Topic (Dynamic IP) New Topic New Poll Post Reply
AndreaVB Forum : Network : Multiple Clients using Winsock
Poster Message
alokpmin
Level: Guest


icon Multiple Clients using Winsock

Hi,
thanks for all your help. Its a wonderful forum.
Yes one more trouble for me. I am working on a multiple client application using winsock. Application works fine if all the sockets are open. the moment i close one client and restart it it start troubling..how can i effectively handle such situation? Please help.

13-02-2004 at 01:52 AM
| Quote Reply
johnedw
Level: Sage

Registered: 15-08-2004
Posts: 50
icon Re: Multiple Clients using Winsock

Hi, I would need more information to assist you but heres a guess anyway.


Make sure that your array of sockets resizes correctly when a client closes.

You need some way of making sure that instance that had a client connected to it knows when the connection has dropped and is deleted from the array or made available for a new client.

You'll need some kind of event handling scheme.

____________________________
Today is a new day, in
a world OF CODE!

16-08-2004 at 12:08 PM
View Profile Send Email to User Show All Posts ICQ | Quote Reply
AndreaVB Forum : Network : Multiple Clients using Winsock
Previous Topic (Get MAC address)Next Topic (Dynamic IP) 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