home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.os2.programmer
- Path: sparky!uunet!mcsun!sunic!ugle.unit.no!alf.uib.no!hsr.no!fics!kro
- From: kro@kvamdata.no (Knut Rogde)
- Subject: fcntl
- Organization: Kvam data as
- Date: Thu, 12 Nov 1992 16:24:15 GMT
- Message-ID: <1992Nov12.162415.18503@kvamdata.no>
- Lines: 21
-
- Hi, I've tried this question on comp.os.os2.networking without success,
- so I thought I'd try it here...
-
- I'm porting a client-server application to IBM's TCPIP for OS2.
-
- I need to be able to set a close-on-exec flag on the sockets I open, because
- the server is supposed to start new processes (which should not inherit
- any descriptors).
-
- On the UNIX-port I can use fcntl() to set this flag, but this can't be
- done in IBM's implementation (I believe) because sockets and filedesriptors
- do not come from the same domain.
-
- I would be grateful for any ideas...
-
- Knut
- --
- ------------------------------------------------------------------------
- Knut Rogde Phone : +47 4 623766
- Software engineer Fax : +47 4 623985
- Kvam data as Email : kro@kvamdata.no
-