delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/11/26/22:37:09

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
From: "news.gosonic.com" <coder400 AT hotmail DOT com>
Subject: close a socket with SO_LINGER
Date: Fri, 26 Nov 2004 22:41:47 -0500
Lines: 9
Message-ID: <co8soo$v22$1@sea.gmane.org>
Reply-To: "news.gosonic.com" <coder400 AT hotmail DOT com>
X-Complaints-To: usenet AT sea DOT gmane DOT org
X-Gmane-NNTP-Posting-Host: dial112.gosonic.ca
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-IsSubscribed: yes

Hi,

I set the so_linger to let the socket to linger 60 seconds before I use
close() to close the socket. The linger never happened, why? What is the
proper why to set up the test?

Thanks




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019