Winsock Control Issue 
Author Message
 Winsock Control Issue

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



Thu, 26 Jun 2003 07:13:34 GMT  
 Winsock Control Issue
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



Thu, 26 Jun 2003 23:37:17 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Winsock control issues

2. Rentrancy issue with the Winsock control

3. Winsock control redistribution issues ??

4. Winsock issues...

5. Winsock application issue: NEED HELP

6. Winsock issue

7. Winsock Issue - need help

8. Winsock application issue: NEED HELP!!!

9. Reconnection issue between Winsock Server(VB6) and TCP Client (VB.NET)

10. VB6 Winsock Control vs. Winsock API

11. Winsock Control Error 2 winsock.listen

12. WinSock control CPU hog and gimme WinSock API! :)

 

 
Powered by phpBB® Forum Software