j***@gmail.com
2007-06-26 13:30:33 UTC
Hi There,
I have the following problem:
I have two connections on my PC, a normal Ethernet port and a GPRS
module (setup as a normal dail-up modem). I want to connect to
another PC with also a GPRS module as a modem.
After dailing into the ISP network, I can ping each PC from the
other. However, when running a small TCP client and server, the
programs fail to connect. When I plug in the Ethernet cable, setting
up a small network, the client and server communicate perfectly when I
use the IP adresses of the "Ethernet network". Does Winsock connect
only to a specific network device (which I doubt) or if I run a
server, does it look at all the IP addresses, not only those from a
specific device (like the Ethernet port).
What confuses me is that with the above setup, a UDP server and client
works fine with both the Ethernet and GPRS network.
Your help and suggestions will be greatly appreciated
Jaco
I have the following problem:
I have two connections on my PC, a normal Ethernet port and a GPRS
module (setup as a normal dail-up modem). I want to connect to
another PC with also a GPRS module as a modem.
After dailing into the ISP network, I can ping each PC from the
other. However, when running a small TCP client and server, the
programs fail to connect. When I plug in the Ethernet cable, setting
up a small network, the client and server communicate perfectly when I
use the IP adresses of the "Ethernet network". Does Winsock connect
only to a specific network device (which I doubt) or if I run a
server, does it look at all the IP addresses, not only those from a
specific device (like the Ethernet port).
What confuses me is that with the above setup, a UDP server and client
works fine with both the Ethernet and GPRS network.
Your help and suggestions will be greatly appreciated
Jaco