Skip to main content

Chat Error

1 reply [Last post]
jan_martin
Offline
Joined: 2007-11-03

I've written a client/server chat program. Unfortunately there seems to be a problem when I try and access it from another computer.
The program works fine with "localhost" as the IP (TCP/IP by the way) but whenever I put my computers IP and try and run the client from abouther computer it comes up with a malformed destination error.

Help please?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
tarbo
Offline
Joined: 2006-12-18

We'll need more information to answer this question. Consider adding relevant code (especially connection code), where the error occurs, the [i]exact[/i] exceptions thrown, and other information that may be relevant (such as network topology).

At this point, my guess is that you either have a syntax error in your address format, or are trying to connect through a NAT-enabled firewall.