-
Events on sockets
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
-
I think you want to use the NetworkStream Object.
Here is an article about it.
http://www.eggheadcafe.com/articles/20020323.asp