471,119 Members | 1,303 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,119 software developers and data experts.

TcpClient remote address

what the kosher way of vreating a tcp client/server app in .net?
can anyone recommend a good in depth tutorial?

currently im using a TcpListener but i cant get a remotre address from the
TcpClient's it returns

Stephen

Jul 21 '05 #1
1 2108

"Stephen Remde" <sp*******@smremde.co.uk> wrote in message
news:ur**************@TK2MSFTNGP12.phx.gbl...
what the kosher way of vreating a tcp client/server app in .net?
can anyone recommend a good in depth tutorial?

currently im using a TcpListener but i cant get a remotre address from the
TcpClient's it returns


It's hidden when you use a TcpClient. If you want to deal with the socket
directly (using TcpListener.AcceptSocket), you can get the
Socket.RemoteEndPoint.

With the socket you can still wrap it in a NetworkStream object and have
much of the ease of use of the TcpClient.

David
Jul 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Ethan | last post: by
1 post views Thread by MuZZy | last post: by
1 post views Thread by Stephen Remde | last post: by
reply views Thread by den 2005 | last post: by
7 posts views Thread by david.topham | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.