socket problem
-
hi all. i want to know how can i get the ip address of the remote user connected to my server by knowing his network stream any help about that problem please ? Miss With The Best And Die Like The Rest
-
hiii, if you are using Socket class then after connection established all you have to do is: IPAddress addr=((IPEndPoint)socket.RemoteEndPoint).Address; marcoryos
and you can't if you're using TcpListener Regards
-
and you can't if you're using TcpListener Regards
Zishan Haider wrote: and you can't if you're using TcpListener Unless you inherit from TcpListener and use the protected Socket property. ;P xacc-ide 0.0.15 now with C#, MSIL, C, XML, ASP.NET, Nemerle, MyXaml and HLSL coloring - Screenshots
-
and you can't if you're using TcpListener Regards