Hi, sorry for the late reply..
the connection will be persistent, i.e. either side will never close off the connection (unless got network error). The thing is if i implement the same kind of code in c#, it doesn't seem to have this problem. But in perl, as sysread does partial read, thus this problem surfaces..
so is there a more reliable solution as the proposed one above?
In reply to Re^7: sysread and syswrite in tcp sockets
by Anonymous Monk
in thread sysread and syswrite in tcp sockets
by rustybar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |