perl - how to receive a full file through a socket?

  • Thread starter Thread starter -=Mizo=-
  • Start date Start date
M

-=Mizo=-

Guest
Hello i am sending a file through a socket but when i receive it i receive only the first line of the file
here's the receiving part
while(1)
{
my $from_who = recv( UDP_SOCK, $file, MAX_RECV_LEN, 0 );
 
Back
Top