I have Cox high speed internet connection. The Cox cable goes into their box
(router). I then run a cable to my little in-house hub and two cables run
from my hub to my two XP boxes.
When I run ipconfig on box 1 I get an ip address of 192.168.0.102 and when I
run ipconfig on the other box I get 192.168.0.100 with a gateway of
In the TCP/IP settings under the IP address tab I have - Obtain an IP
address automatically. I am running XP - SP2 on both boxes.
I have my TcpListener running on box 1 and my TcpClient running on box 2.
The TcpClient is unable to connect to the Listener program.
I have tried opening a port in the XP firewall. I also tried opening a
program - the XP firewall allows you to open either a port or a program. I
have tried both.
In the TcpClient Connect method I have used both the IP address and the
computer name. Nothing works. The connect call succeeds but when I got to
write I get an error.
I have tried using telnet as well to talk to my app but that doesn't work
either. Telnet seems to connect but when I go to write something I get no
response back and my server doesn't show being connected. When I use telnet I
can put in any bogus ip address and port and it always connects - I never get
What the heck is going on?