will not exit until the other side closes the socket.while($ans=<$sock>)
Try doing a single read
in a scalar context, then "print" to the socket, followed by another "read".$ans=<$sock>;
My goal ... to kill off the slow brain cells that are holding me back from synergizing my knowledge of vertically integrated mobile platforms in local cloud-based content management system datafication.
In reply to Re: Sending multiple requests to a perl socket
by NetWallah
in thread Sending multiple requests to a perl socket
by fixu2
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |