I think send and recv are only for UDP, not for TCP.
For TCP, you can just treat the socket as a filehandle and read and write using print and <> (or readline).
In reply to Re: Socket recv?
by Corion
in thread Socket recv?
by packetstormer
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |