home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!contex!felix.contex.com!avinash
- From: avinash@felix.contex.com (Avinash Chopde)
- Newsgroups: comp.unix.programmer
- Subject: Detecting a broken (socket) connection before write()
- Message-ID: <2948@contex.contex.com>
- Date: 15 Sep 92 19:39:05 GMT
- Sender: news@contex.contex.com
- Lines: 12
-
- I am looking for functions similar to feof() ferror() for file
- descriptors.
- For example, if a socket fd connection has been broken, writing
- to that fd will result in a Broken Pipe signal.
- I would like to detect the broken pipe before writing to it, is this
- possible at all ?
-
- Thanks for any pointers....
- --
- ---------------------------
- Avinash Chopde office : 617 246 1776x5582
- avinash@contex.com (...!uunet!contex!avinash)
-