http://www.perlmonks.org?node_id=413946


in reply to Io Socket Example

At first glance, the article you provide is correct. Be sure however to change the hostname ('LocalHost' and 'PeerAddr' in the article) to IP addresses or hostnames that exist in your current network.

If you just want to test, use '127.0.0.1' for both

.

--
zejames