> I saw one of these in the help, but I couldn't figure out how and where to
> plug it in.
> Can you explain how your would implement this?
This is one way of doing it - change it as needed for your situation. You'll
want to break this up into separate functions, threads, etc.
Dim tcpListener As New tcpListener(ipAddress, port)
tcpListener.Start()
Do While True
Dim s as Socket = tcpListener.AcceptSocket()
Dim MyTcpClient as new ExposedSocketTcpClient
myTcpClient.Socket = s
Dim ns as Sockets.NetworkStream = myTcpClient.GetStream
'now you can do as you please with your stream
Loop
Jeff Paulsen
===================================
This list is hosted by DevelopMentor� http://www.develop.com
Some .NET courses you may be interested in:
NEW! Guerrilla ASP.NET, 17 May 2004, in Los Angeles
http://www.develop.com/courses/gaspdotnetls
View archives and manage your subscription(s) at http://discuss.develop.com