http://qs321.pair.com?node_id=1043906


in reply to Re^2: help me on socket programming
in thread help me on socket programming

To expand what NetWallh said, when you telnet to port 1998 with the command below, does it send a response, or do you need to send a request in order to get a response?

telnet $SWITCH_ADDRESS 1998

print "Good ",qw(night morning afternoon evening)[(localtime)[2]/6]," fellow monks."