On 4/2/21 4:47 AM, stefano cerbioni wrote:
hi i try to recive  a stream string  by  a client (write in C++) , if i use netcat ,  work ok but  when i use a  script in perl work partially , recive "Connection recieved from $name\n";,  but  $name is  blank , why ?? thanks
this is a script


don't use low level socket stuff as it is tricky to get correct. use the IO::Socket module as it is correct and very easy to use.

uri


--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to