I tried all sort of ways using unblocking reads, but to no avail.
If you posted one of your attempts, we may be able to sort that out for you.
If you know an example where this works,
The classic method of performing non-blocking IO is to use select. For examples, scan a few of these hits site:perlmonks.org IO::Socket IO::Select.
I now resort to a rather clumsy way, by opening two ports, using one to send, the other to receive. This works, but it does not seem to be too clever
If it is good enough for the FTP-family of protocols, it is good enough for me.
In reply to Re^3: Bidirectional Socket, Blocking
by BrowserUk
in thread Bidirectional Socket, Blocking
by DanielPHuber
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |