in reply to Re^2: Problem with "use constant" and UDP socket connection
in thread Problem with "use constant" and UDP socket connection

I might be out in left field here but I don't see any requirement that their various functions you are using requires constants. gethostbyname and socket can accept variables. AMAF, there is very, very little difference in passing and variable vs. a constant to a sub.

use vars; :-)

Ted Young

($$<<$$=>$$<=>$$<=$$>>$$) always returns 1. :-)