Re: socket recive problem
Uri Guttman <[email protected]>
| Newsgroups | gmane.comp.lang.perl.beginners |
|---|---|
| Organization | Perl Hunter |
| Message-ID | <[email protected]> |
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: [email protected] For additional commands, e-mail: [email protected] http://learn.perl.org/