I'm using UDP (because the server only accepts UDP, I didn't write it) to receive some data from the server and it's not getting all the data. I know there's at least 18-19 lines I need to receive but I'm only getting 13-14 of them. I've tried increasing the length and even adding a sleep to see...
What I'm trying to do is send a string to my UDP server and receive some data back, but more than just once.
my $sock = IO::Socket::INET->new(Proto =>'udp',
PeerHost =>$host,
PeerPort =>$port,
Reuse => 1) or die $@...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.