DragonFly BSD
DragonFly users List (threaded) for 2005-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: dfuibe_installer in single-user-mode?


From: sam <samwun@xxxxxxxxxxxxxxxx>
Date: Mon, 07 Mar 2005 11:06:41 +0800

Chris Pressey wrote:

On Mon, 07 Mar 2005 00:26:01 +0800
sam <samwun@xxxxxxxxxxxxxxxx> wrote:


Hi,

I just realised that dfuibe_installer use tcp socket to bind to port 9999 for system installation. How can I configure dfuibe_installer use
unix socket? I want to use it in single user mode with dfuibe_curses.


Hi,

The UI protocol layer (libdfui) doesn't currently support Unix-domain
sockets, so you'd have to implement that.  The good news is that libdfui
is fairly modular when it comes to implementing different transport
layers, and Unix-domain sockets are similar enough to TCP/IP sockets
that you can probably just copy conn_tcp.c and modify it slightly.

There is npipe code in the libdfui, I may be no need to modify anything.

Sam

-Chris



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