Valhalla Legends Forums Archive | General Programming | Ran into some troubles.

AuthorMessageTime
Crypticflare
From a previous post I was working on a mutli-user supported Chat/Server app, I coded the server and the chat client and they both work on my upstairs computer (they can send and recieve chat)
Heres my dilemma:

I keep the server running upstairs since I run the dyndns host, for reference sake lets say my account is: cf.ath.cx

On the server Portion I put with the connection sequence

winsock1.LocalPort= 6666
winsock1.listen


So the server is listening for data.

On my client portion I have:


winsock1.remotehost= "cf.ath.cx"
winsock1.remoteport=6666
winsock1.connect

Now If I take my Client part of the app downstairs to my other computer and try to run it. I get a run-time error on the connect sequence, it says socket is forcefully rejected

I would appreciate any help that could point out what I'm doing wrong.

thanks


Edit: Code tags didn't work with my post, sorry about them not being in tags.
May 30, 2003, 9:43 PM
iago
On the server computer run a packet sniffer and see if they're even connecting. If not, try pinging it to make sure there's no network problems.
May 31, 2003, 8:22 AM
Grok
Are you running a firewall on the host?

Did you set the protocols to sckTCPProtocol on both server and client?

Can the client PC ping the server PC?
May 31, 2003, 2:03 PM

Search