🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.linux.networking
Article #810

non-blocking accept()?

#810
From: Manfred Hallas
Date: Wed, 13 May 1998 00:00
16 lines
1393 bytes
Hi folks!

How can I make the following C command

    int accept (int s, struct sockaddr *addr, int *addrlen)

(who accept a connection on a socket) non-blocking under
Linux with gcc???
I think I have to mark the socket s non-blocking, but I don't know
how :-(((  and the SO_SNDLOWAT at setsockopt() doesn't
exist under Linux...

I am VERY grateful for each hint

Manfred
Technical Details
Message-ID: <355A00FE.1354F22D@stud1.tuwien.ac.at>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,b4153cb341347981,start
X-Google-Attributes: gid11318c,public
X-Google-Thread: faa64,b4153cb341347981,start
X-Google-Attributes: gidfaa64,public
X-Google-Thread: 10a73c,b4153cb341347981,start
X-Google-Attributes: gid10a73c,public
X-Google-Thread: 10acab,b4153cb341347981,start
X-Google-Attributes: gid10acab,public
X-Google-Thread: 10669a,b4153cb341347981,start
X-Google-Attributes: gid10669a,public
X-Google-Thread: f65d0,b4153cb341347981,start
X-Google-Attributes: gidf65d0,public
From: Manfred Hallas <e9226266@stud1.tuwien.ac.at>
Subject: non-blocking accept()?
Date: 1998/05/13
Message-ID: <355A00FE.1354F22D@stud1.tuwien.ac.at>
X-Deja-AN: 352949785
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Organization: Vienna University of Technology, Austria
Newsgroups: comp.os.linux.networking,de.comp.os.linux.networking,linux.dev.gcc,alt.os.linux,gnu.gcc.help,gnu.gcc