[sheepdog] [disscuss] Design of Libsheepdog
MORITA Kazutaka
morita.kazutaka at gmail.com
Mon Jul 1 01:29:02 CEST 2013
At Sun, 30 Jun 2013 17:29:28 +0800,
Kai Zhang wrote:
>
> On Jun 27, 2013, at 11:34 AM, MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp> wrote:
>
> >>
> >> /* connection */
> >> int sd_init(char *addr, const sd_t *sd);
> >
> > I think the syntax of addr needs discussion:
> > - How to specify a port number?
> > - How to connect to a unix domain socket?
> >
> >
>
> I think we can use a unified form: "ip:port".
>
> If the ip is local, sd_init() will try to use unix domain socket.
Do you mean "localhost:<unix domain socket path>"?
Thanks,
Kazutaka
More information about the sheepdog
mailing list