Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: TurdS
  • Order by date
  1. TurdS

    UDP recv() not receiving all the data

    Wow, thanks again Travis but, sadly I have to use the server that I'm using and I have no access to change it. I also need to use UDP. But I will save this for something I need to do later. Thanks!
  2. TurdS

    UDP recv() not receiving all the data

    Yeah that's what I figured, I was just curious if it was possible.
  3. TurdS

    UDP recv() not receiving all the data

    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...
  4. TurdS

    More than one recv()

    Thank you travs! I did this my $sock = IO::Socket::INET->new(Proto =>'udp', PeerHost =>$host, PeerPort =>$port, Reuse => 1) or die $@; $sock->send($packet); $sock->recv(my $data,6000) or die "failed to recv() !:\n"...
  5. TurdS

    More than one recv()

    Do you mean doing a close() then doing it all over again? I believe I may have tried that (can't remember), but I will try it. Thanks.
  6. TurdS

    More than one recv()

    I'm 99% sure the server is not closing the connection.
  7. TurdS

    More than one recv()

    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 $@...

Part and Inventory Search

Back
Top