Computer Science Canada Net connection errors |
Author: | jrblast [ Fri Feb 09, 2007 9:52 pm ] | ||
Post subject: | Net connection errors | ||
I'm making a multi user chat program. The way it works is the server waits for a connection on for 40000 and then when the client connects, the server sends a new port for connection. The connections are closed and then the user waits for the server to connect and the server will then wait for another connection on port 40000. The problem I'm having is when my friend tries connecting to me, and I connect back to him i get unknown net error #10060 (I think thats it.) You can try connecting to me, I'll post the client and server and leave the server running here. I can connect to myself as localhost and with my router IP. And I have made sure my ports are forwarded. Anyone got any ideas? EDIT: The exact error is
EDIT2: Well, between when I posted and now only one person tried to connect so I'm turning off the server |
Author: | rollerdude [ Tue Feb 20, 2007 9:48 am ] |
Post subject: | Re: Net connection errors |
well... i know in the examples theres a "NETCHAT" program.... maybe try und get an idea from there... sorry.. i haven't tried working with a network yet (note: i'm pretty sure this example only comes with turing 4.0.5 or something like that, if you need it, i'll send it) |