gpsd-users
[Top][All Lists]
Advanced

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

Re: Connect to Unix domain socket instead of host:port


From: Andreas B
Subject: Re: Connect to Unix domain socket instead of host:port
Date: Thu, 19 Dec 2024 23:34:03 +0100

Hi Gary,

I thought that the Unix domain socket in -F was for control-stuff only (i.e. not for clients to connect to, to get positions etc.).

I'll try this, thanks!

Best,
Andreas

On Thu, Dec 19, 2024 at 10:13 PM Gary E. Miller <gem@rellim.com> wrote:
Yo Andreas!

On Thu, 19 Dec 2024 09:35:23 +0100
Andreas B <panden@gmail.com> wrote:

> I want a client to connect to gpsd with a Unix domain socket.

As the gpsd man page says:

       -F FILE, --sockfile FILE
           Create a control socket for device addition and removal commands.
           Default is None. You must specify a valid pathname on your local
           filesystem; this will be created as a Unix-domain socket to which
           you can write commands that edit the daemon’s internal device list.

Give it a try.

>
> Regard,
> Andreas
>
> On Thu, Dec 19, 2024 at 2:42 AM Gary E. Miller <gem@rellim.com> wrote:
>
> > Yo Andreas!
> >
> > On Wed, 18 Dec 2024 22:58:43 +0100
> > Andreas B <panden@gmail.com> wrote:
> > 
> > > Is it possible to run gpsd so that one connects to a Unix domain
> > > socket, instead of host:port? 
> >
> > I can't imagine why not.  Do want gpsd to connect to the GNSS
> > receiver over a UNIX Domain Socket, or have a client connect to
> > gpsd that way?
> >
> > Do you have an example receiver or client?
> >
> > RGDS
> > GARY
> > ---------------------------------------------------------------------------
> > Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR
> > 97703 gem@rellim.com  Tel:+1 541 382 8588
> >
> >             Veritas liberabit vos. -- Quid est veritas?
> >     "If you can't measure it, you can't improve it." - Lord Kelvin
> >
> > 




RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
        gem@rellim.com  Tel:+1 541 382 8588

            Veritas liberabit vos. -- Quid est veritas?
    "If you can't measure it, you can't improve it." - Lord Kelvin


reply via email to

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