eof might work. Whether your socket is non-blocking and whether select works on your system is likely to be important.
After Compline,
Zaxo
In reply to Re: How to find out whether socket is still connected?
by Zaxo
in thread How to find out whether socket is still connected?
by crenz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |