Your specific problem is that your server needs to be a string, '10.1.10.42', not a v-string (or whatever the hell they're called now) 10.1.10.42 which represents chr(10).chr(1).char(10).chr(42).
Jeff japhy Pinyan,
P.L., P.M., P.O.D, X.S.:
Perl,
regex,
and perlhacker How can we ever be the sold short or the cheated, we who for every service have long ago been overpaid? ~~ Meister Eckhart