George Gallen on 26 Aug 2005 18:56:31 -0000 |
Title: RE: perl/socket question... never mind. I changed switched while (defined(<$new_sock>)) {print $_;}
and that works....Now I remember why I didn't like using $_ before.... George -----Original Message-----
OK. I'm starting to play with perl and sockets. I tried this extremely basic server/client SERVER
die "Could not create socket: $!\n" unless $sock;
CLIENT
I start up the server side, no errors, so far so good (it listens fine).
HOWEVER... the "Hello there\n" isn't displayed on the server side.
Any ideas?
George Gallen
SLACK Incorporated - Delivering the best in health care information and education worldwide.
___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
|
|