1
Answer

TCPIP Listener

Photo of Nilesh Vilas

Nilesh Vilas

10y
1.2k
1
Hello
I have been working on tcpIP listener  and listen my machine IP in my code.
but when i was trying to listen  another IP which is connected in my LAN that time i got following error.
"The requested address is not valid in its context" 
 i have listened like following code
 
System.Net.IPAddress IPaddress = IPAddress.Parse("192.168.1.150");
var tcp = new TcpListener(IPAddress, 90);
tcp.Start();
 
can you tell me how can listen IP in which connected in LAN  
 
 

Answers (1)