gpsd-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gpsd-dev] Updated docs on NTP segment management


From: Gary E. Miller
Subject: Re: [gpsd-dev] Updated docs on NTP segment management
Date: Mon, 23 Feb 2015 13:22:42 -0800

Yo Harlan!

On Mon, 23 Feb 2015 20:59:27 +0000
Harlan Stenn <address@hidden> wrote:

> Are there any write-blocking issues with sockets?
> 
> O_NDELAY solves the read-blocking issue, I think.

gpsd just send()s.  Gpsd does not even bother to check the return code
(ugh).  If the remote side is not connected that send() just fails
silently.

On the chronyd side it looks like they just use select() to check the
socket when data present.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97701
        address@hidden  Tel:+1(541)382-8588



reply via email to

[Prev in Thread] Current Thread [Next in Thread]