Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Dec 1997 20:01:00 -0800 (PST)
From:      Archie Cobbs <archie@whistle.com>
To:        rantapaa@uswest.net (Erik E Rantapaa)
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: close() on a modem taking a long time?
Message-ID:  <199712190401.UAA23662@bubba.whistle.com>
In-Reply-To: <Pine.BSF.3.91.971218203457.9226A-100000@tahiti.oss.uswest.net> from Erik E Rantapaa at "Dec 18, 97 08:39:55 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Erik E Rantapaa writes:
> 
> I've been tracking down a problem we've been having with sendpage
> and it appears that close() on a serial line attached to a modem
> can sometimes take a long time (like 20 minutes or more).
> Can anyone think of a reason why this might be happening
> (and more importantly, how to get around it)?

Serial ports usually wait for output to finish on a close (I think).
You may be able to disable this feature.. see man termios (HUPCL?).

-Archie

___________________________________________________________________________
Archie Cobbs   *   Whistle Communications, Inc.  *   http://www.whistle.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199712190401.UAA23662>