[GRASS5] G_socks_* unix socket wrapper functions...
Eric G . Miller
egm2 at jps.net
Mon Jan 29 23:56:18 EST 2001
On Mon, Jan 29, 2001 at 09:03:43PM -0400, Malcolm Blue wrote:
> I agree that it is a good plan to move to sockets. As Markus says,
> they are very portable. I have checked the Cygwin API docs and it
> looks like the standard sockets library functions are supported. I
> haven't used them (directly) but am certainly willing to test this out
> and help with coding/porting/etc. Since this is integrated into the
> core libraries, rather than being an add on like IPC, it is probably
> more reliable.
>
> As to dropping fifos, we should make the IPC changes to the CELL and
> HTMLMAP sources, if that is to be the standard. So far this is only
> implemented in the XDRIVER.
>
> Also, are IPC message queues implemented on all of the platforms? It
> is on UNIX's and now works on Cygwin for WinNT, but what about other
> platforms, e.g.. Mac OS X? Maybe people using platforms that don't
> support IPC can respond to this (if no one responds can we assume that
> all support this?)
Perhaps some older BSD's don't have IPC message queues ???
If you want to look at some of the changes I made, I put a little
tarball at http://www.jps.net/egm2/sockets.tar.gz. This has the major
files modified (SWITCHER.c, io.c, unix_socks.c [new]). It's by no means
a plug-in, since there were a lot of little other tweaks (like to d.mon,
for instance, to change calling convention for XDRIVER). Generally, I
think it's a bit cleaner (just a bit, though), but I'm biased ;)
--
Eric G. Miller <egm2 at jps.net>
----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo at geog.uni-hannover.de with
subject 'unsubscribe grass5'
More information about the grass-dev
mailing list