Displaying 4 results from an estimated 4 matches for "r755".
Did you mean:
0755
2007 Jan 19
0
Re: [nut-commits] svn commit r755 - in trunk: . clients
> I see. For IP4 addresses, will ups@192.168.0.1:3493 still work as
> expected? -- Peter
Yes. Whatever is between '@' and the optional ':<portnumber>' is passed as
hostname. Brackets (in case of domain literals) are removed.
Best regards, Arjen
--
Eindhoven - The Netherlands
Key fingerprint - 66 4E 03 2C 9D B5 CB 9B 7A FE 7E C1 EE 88 BC 57
2007 Jan 19
0
Re: [nut-commits] svn commit r755 - in trunk: . clients
> * are you sure you want to use fprintf(stderr, ...) in a library?
> This doesn't seem like a good idea to me. Wouldn't it be more
> consistent to extend upscli_errlist[] ?
Errorcodes are passed in 'ups->upserror' (and 'ups->syserrno'). Uh oh, we
don't have a connection to an UPS yet when we call upscli_splitname() or
upscli_splitaddr(). The
2007 Jan 19
0
Re: [nut-commits] svn commit r755 - in trunk: . clients
> I see. For IP4 addresses, will ups@192.168.0.1:3493 still work as
expected? -- Peter
Yes. Whatever is between '@' and the optional ':<portnumber>' is passed as
hostname. Brackets (in case of domain literals) are removed.
One thing to note, in the released versions the use of IPv4 addresses for
a hostname (in upsclient.c) is not guaranteed to work (according to
POSIX):
2007 Jan 19
1
Re: [nut-commits] svn commit r755 - in trunk: . clients
Great, thanks! Two questions:
* what is a domain literal? Is this something like 192.168.0.1? In
this case, the '[]' are probably unnecessary.
* are you sure you want to use fprintf(stderr, ...) in a library?
This doesn't seem like a good idea to me. Wouldn't it be more
consistent to extend upscli_errlist[] ?
-- Peter
Arjen de Korte wrote:
>
> Author: