> > $template = 'S n C4 x8'; > > Your template is wrong. You need 'x C n a4 x8' (or 'n n a4 x8'). Thanks, I will give that a shot. Altough, all of the docs that i read pack the structure with the 'S n C4 x8' template and it does work on the Server end. > The returned value from gethostbyname is already packed, so > C4 is wrong. The > first two bytes are length (0) and family, both of which are > unsigned char, > so 'x C' (or 'n') handles those. > > Use IO::Socket man! Or sockaddr_in() at the very least!
I know, but I am just seeing if I can make it work by hand. call me crazy :) -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]