|
-
Dec 31st, 2002, 01:25 AM
#1
Thread Starter
Hyperactive Member
Confusing Question...
Ok I'm migrating from VB6 to VB.Net and I'm a bit confused on something, I'm working on Net.Sockets, Now I'm looking in many example programs trying to figure this out. In VB6, Winsock had events that fired, when data comes in, the DataArrival event was automatically fired. Now in .Net, it seems that I have to create these events manually, this is where I'm confused.. Once I set up a server to Listen, how do I tie an event to the listener to fire when data comes in? Since there is no built in event, I can write one but how do I tie that event to the Listener and make the Listener respond to the incomming data? I have made many attempts but the DataArrival events I make just sit there and don't do anything so I'm sure Im missing a key point on tying the TCPListener to my home made events..
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
|