Sounds like you didn't actually run a server at localhost:6666? A simple echo server would do. (You can find one at localhost:echo sometimes, though it's trivial to write one.)
Why would I need an external server to communicate between two threads using sockets?
Does not compute
In reply to Re^4: Can I/O operations on the same IO::Socket be executed in different threads?
by Anonymous Monk
in thread Can I/O operations on the same IO::Socket be executed in different threads?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |