Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!ucsd!ucsdhub!hp-sdd!hplabs!hp-ses!hpcuhb!hpsqf!hpopd!ian From: ian@hpopd.HP.COM (Ian Watson) Newsgroups: comp.unix.questions Subject: Re: Flushing sockets Message-ID: <7980002@hpopd.HP.COM> Date: 7 Mar 90 09:34:28 GMT References: <4385@jarthur.Claremont.EDU> Organization: HP PWD, Pinewood UK. Lines: 12 I haven't actually used it, but from my man pages, it looks like you can call setsockopt ( sock, SOL_SOCKET, SO_LINGER, optval, optlen); with optval a pointer to 'struct linger' (defined in ), and optlen set to its length. This is on SCO V.3.2. If this helps, maybe you can return a favour by casting an eye over my question in this group "HELP!! Sockets ..." (ian@hpopd.HP.COM) Cheers, Ian Watson