Found the following interesting discussion in the Newsgroups:
| .NET Sockets Help by: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 | |
| Reply: by:Stan Sainte-Rose | |
| Hi Bryan I bought the "Peer-To-Peer with vb.net" book, and I found very great samples.. You may check out this url... http://apress.com/book/bookDisplay.html?bID=174 You can also download some samples.. Stan | |
Posted by Xander Zelders

0 Comments:
Post a Comment
<< Home