Nilesh Vilas

Nilesh Vilas

  • NA
  • 2
  • 2.1k

TCPIP Listener

Nov 7 2014 1:35 AM
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)