in reply to Trouble with sockets
If I try your code on my machine (replacing 'foo' with 'localhost') it runs fine. Maybe you should try IP-addresses instead of hostnames. If you use a hostname, a machine will always try to resolve this to an IP-adress before it uses it (using DNS or another resolving mechanism), it's just one more step that can go wrong.
Hope this helps
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Trouble with sockets
by sweetblood (Prior) on Jun 21, 2004 at 14:57 UTC | |
by eXile (Priest) on Jun 21, 2004 at 15:32 UTC |