I writing a system that communicates with an CLP. And this software should talk with other two apps made in vb6.

The talking will be by sockets.
So how can i capture the events like i used to do with the old winsock control of vb6.

The .Net system should not be waiting for a connection, it just should accept the client when it raises the ConnectionRequest event, or something like this.

Other way is to have a thread waiting for a connection, witch will create a new tcplistener to talk with the vb6 winsock!

Thanks,
Guilherme Costa