L
lucifer
Code:
IPAddress iadd =IPAddress.Parse("192.168.1.2");
IPEndPoint ipe = new IPEndPoint(iadd, port);
Socket sock = new Socket(AddressFamily.InterNetwork, SocketType.Stream
,ProtocolType.Tcp);
sock.Bind(ipe);
sock.Listen(32);
sock.Accept();
sock.Connect()// problem i dont know remote ip address nor can i hard
code it
web(sock);
sock.Shutdown(SocketShutdown.Both);
sock.Close();
how can i find about the ip address of remote client
IPAddress iadd =IPAddress.Parse("192.168.1.2");
IPEndPoint ipe = new IPEndPoint(iadd, port);
Socket sock = new Socket(AddressFamily.InterNetwork, SocketType.Stream
,ProtocolType.Tcp);
sock.Bind(ipe);
sock.Listen(32);
sock.Accept();
sock.Connect()// problem i dont know remote ip address nor can i hard
code it
web(sock);
sock.Shutdown(SocketShutdown.Both);
sock.Close();
how can i find about the ip address of remote client