Hew, I've never delved into this area at all, but looking at your code, shouldn't you have Proto => "tcp", in the IO:::Socket... on server as well as client?
Joe -----Original Message----- From: Hewlett Pickens [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 31, 2002 12:50 PM To: [EMAIL PROTECTED] Subject: Access Transmitted Data Received On "Server" Side Of A TCP Socket Using O'Reilly's "Learning Perl", have set up a "bare bones" socket connection between two computers to send a small amount of data from the "client" to the "server". (For learning, not for the real world.) The client sends "are you there" and the server responds with "I am here, what do you want". Each side prints the data it receives. The client correctly displays the received: "I am here ..." The server displays junk for the data its received, meaning I haven't correctly acquired it. Code snippets from the server and client are in the text attachment. I'd appreciate it if someone could point out the error I'm making in the server code. Thanks, Hew Hewlett M. Pickens B I Moyle Associates, Inc. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]