Jason,
The Winsock control, in my exeperience, tends to be unreliable when using
multiple sockets within a single application. This normally happens when a lot
of data is being shipped around across multiple sockets. The symptoms are
sockets ceasing to raise crucial events (the SendCompleted and Connect events
are the ones I have seen disappear) and a subsequent collapse of the program
that relies on these events.
I tried to communicate to Microsoft (HA HA) to no avail and eventually wrote my
own control to (SocketSet at http://www.aristoline.co.uk).
Nigel Hatchett
Quote:
> I am using the winsock control. I listen on poer 600, as a user connects I
> load another winsock contorl dynamicaly and start listening. This works
> well, but sometimes the listening locks up - and users trying to connect get
> the error "connection forcfully rejected", in the debug window I can check
> the state of the winsock controls - and their IS one listening... But whats
> wrong?
> Help!
> Jason