in reply to UDP Sockets

Can you post code? I've haven't used it personally, but perhaps Net::UDP will help? Which INET modules are you currently using? Also, what about the obvious question of the port being open and not blocked by firewalls, the server actually be on/working, etc?

Replies are listed 'Best First'.
Re^2: UDP Sockets
by Anonymous Monk on Jun 19, 2005 at 20:36 UTC
    I've got this far:
    #!/usr/bin/perl use IO::Socket; $sock = IO::Socket::INET->new(PeerAddr => '66.199.241.106', PeerPort => '27015', Proto => 'udp'); $msg="˙˙˙˙details\x00/˙˙˙˙players\x00/˙˙˙˙rules\x00"; $sock->send($msg) or print $!;
    But, then, how do I get the response? Firewalls are all off- I've found some PHP code that does the same sort of thing and it works.