[GRASSLIST:2452] Re: internet domain sockets
Glynn Clements
glynn.clements at virgin.net
Tue Feb 3 13:04:28 EST 2004
Daniel Isenegger wrote:
> in the programmers manual progmangrass50 (Chapter 12.19) i found an
> example for a socket server. I tested it and it works fine.
> Unfortunately (at least for my needs) the routines desc. in 12.19
> (G_sock_* which references unix_socks.c in
> grass5sources/grass-5.0.3/src/libes/gis) uses unix domain sockets, which
> generates in the /tmp/-directory a socket, which is not accessible from
> a processes on other machines.
>
> so the unix sockets communication is only usable from processes on the
> same machine (or am I wrong here?).
You are correct.
The functions in unix_socks.c are there solely for communication
between the display drivers and the raster library, which only uses
AF_UNIX sockets.
> so my question is: are there other routines in grass which uses internet
> domain sockets (which uses a host and port definition and therefore
> should be usable on for processes on different machines)
No.
--
Glynn Clements <glynn.clements at virgin.net>
More information about the grass-user
mailing list