|
-
Mar 3rd, 2004, 12:30 PM
#1
Thread Starter
Addicted Member
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
-
Mar 4th, 2004, 03:17 PM
#2
Addicted Member
I think you want to use the NetworkStream Object.
Here is an article about it.
http://www.eggheadcafe.com/articles/20020323.asp
-Daryl
"Two More Rolls of Duct tape, and the world is mine!"
VB.NET Guru
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|