Weird, weird problem...

G

Guest

This problem kind of defies belief but i'll try and explain.

I have one version of my application that connects to a socket through a
GPRS connection. This all worked fine for ages.

Now i've just updated some GUI bits and peices (have NOT changed any of the
socket code) and now suddenly the socket can't connect (server does not
respond etc etc)

My code is pretty simple:

try
{
IPAddress ip = IPAddress.Parse ("194.207.238.109");
IPEndPoint serverEndPoint = new IPEndPoint(ip,11000);

socket = new
Socket(AddressFamily.InterNetwork,SocketType.Stream,ProtocolType.Tcp);

if (!socket.Connected)
socket.Connect(serverEndPoint); // dies here


I have seriously not changed a thing.

Weird thing, i can run the same code through our PC connection and it works
fine.
I can run the old version through our GPRS connection (same one) and it
works fine.

Anybody with ANY ideas would be grealy welcomed.

Thanks
Rob
 
G

Guest

Sometimes you wish you'd read your post being pressing submit.

Please don't hack the crap out of my server :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top