🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #1871

fcntl

#1871
From: Knut Rogde
Date: Thu, 12 Nov 1992 16:24
21 lines
1113 bytes
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
Technical Details
Message-ID: <1992Nov12.162415.18503@kvamdata.no>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!sunic!ugle.unit.no!alf.uib.no!hsr.no!fics!kro

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.os2.programmer
Path: arc1-ca.pugleaf.net!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