.NET Sockets Help


B

b.m.

Hi, I'm a beginner to VB.NET ...


I ve been trying to learn .net System.Net.Sockets but i cant seem to figure
out a few things... Being that I am an ex-VB6 developer, I am pretty used
to Winsock programming.

So far, I have figured out how to accept multiple connections to a single
port and send and receive data from the network streams.

What I am having trouble with now, is determining when the socket is closed
unexpectedly. WIth Winsock programming, I could just listen in on the
Closed event, but there is no such event now..

So my question is how can i determine if the client closes the connection
unexpectedly.

Also, does a class exist for VB.NET which more or less simulates a Winsock
environment, or at least makes .net sockets a bit easier, at least for a new
guy? ;) Any examples would be appreciated.

Thanks in advance,
Bryan
 
Ad

Advertisements


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

.Net Sockets 2
.net socket question 0
Help with socket! 2
Help with sockets 5
VB Net Socket Error? 0
Please help, Sockets / Threading 10
Socket Exception Please Help.... 6
Looking for Socket(TCP/IP) .NET component 1

Top