[sheepdog] [disscuss] Design of Libsheepdog

Kai Zhang kyle at zelin.io
Sun Jun 30 11:29:28 CEST 2013


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.


Thanks,
Kyle
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wpkg.org/pipermail/sheepdog/attachments/20130630/62a3de11/attachment-0004.html>


More information about the sheepdog mailing list