Re: Unix Sockets

Rodney Dawes <[email protected]> Wed, 06 Aug 2003 10:50:00 -0400
Newsgroups gmane.network.everybuddy.user
Message-ID <[email protected]>
Ugh. Sorry. I suppose I was confused by the --pipes option for eb-lite.
Is there any documentation or example for using this, instead of the
TCP? It's probably best to use AF_UNIX instead, but that requires adding
a command line option or something so that you can specify the filename
to use for the socket. Particularly, I don't want to be creating a bunch
of these in /tmp. If I can figure out how to use the --pipes stuff for
now, I can get at least start getting my GUI working with it.

On another note, I noticed many problems in the core when I tried to go
and make distcheck a tarball from it, to copy to my other machine, as I
don't use/want QT, so having that source is a bit moot to me. Is there
any way I can get eb-lite core with cvs instead of subversion? I'd
rather not have to install yet another revision control system, just
for one project, let alone learn it. :) Thanks.

-- dobey

Il mer, 2003-08-06 alle 00:06, Philip S Tellis ha scritto:
> On Tue, 5 Aug 2003, Rodney Dawes wrote:
> 
> > I hope someone's awake right now to read this. I'm trying to figure
> > out how to make eb-lite work with unix sockets, and what I will have
> 
> Hi Rodney, how's it going?  There isn't much to do to change eb-lite 
> from using TCP sockets to unix domain sockets, just change the socket 
> init code in the eb-lite server, and in the client that talks to it.  I 
> think you'd just have to change AF_INET to AF_UNIX in gui_comms.c, and 
> of course, specify the socket filename.
> 
> You'd do the same in the client.
> 
> > to do with the protocol data for talking to it. I don't have QT, so
> > that leaves me with no front-end until I make mine work with it. I'm
> 
> try the command line client.  It's only for testing really, but should 
> be sufficient.