J
John J. Hughes II
My code starts a TCP/IP socket listener and waits for incoming connections.
This works fine on my system and my test system but I have a customer who
say it does not work on their system. As far as I can tell the problem is
they are using a DSL modem with a router internal to it. So basically my
software is listening to IP address 10.0.0.3 but the external connection is
trying to connect to xx.xx.xx.xx on the internet which in concept should get
routed from there to 10.0.0.1 and then to the computer at 10.0.0.3.
Internet -> xx.xx.xx.xx -> router(10.0.0.1) -> computer (10,0.0.3) -> my
code.
snippet of my code:
IPAddress ipAddress = IPAddress.Any;
IPEndPoint localEndPoint = new IPEndPoint(ipAddress,
Convert.ToInt32(SocketPort));
Socket listener = new Socket(AddressFamily.InterNetwork, SocketType.Stream,
ProtocolType.Tcp);
listener.Bind(localEndPoint);
listener.Listen(10);
Their modem is a SpeedStream 5200 from Efficient Networks.
Anybody have a suggestion on what to change to make this work?
Regards,
John
This works fine on my system and my test system but I have a customer who
say it does not work on their system. As far as I can tell the problem is
they are using a DSL modem with a router internal to it. So basically my
software is listening to IP address 10.0.0.3 but the external connection is
trying to connect to xx.xx.xx.xx on the internet which in concept should get
routed from there to 10.0.0.1 and then to the computer at 10.0.0.3.
Internet -> xx.xx.xx.xx -> router(10.0.0.1) -> computer (10,0.0.3) -> my
code.
snippet of my code:
IPAddress ipAddress = IPAddress.Any;
IPEndPoint localEndPoint = new IPEndPoint(ipAddress,
Convert.ToInt32(SocketPort));
Socket listener = new Socket(AddressFamily.InterNetwork, SocketType.Stream,
ProtocolType.Tcp);
listener.Bind(localEndPoint);
listener.Listen(10);
Their modem is a SpeedStream 5200 from Efficient Networks.
Anybody have a suggestion on what to change to make this work?
Regards,
John