Re: [Afpfs-ng-devel] length of volumename is wrong
Status: Alpha
Brought to you by:
alexthepuffin
From: HAT <ha...@fa...> - 2008-07-23 14:12:38
|
Sorry. I experimented on the connection from Mac OS 9.2.2 to Mac OS X 10.5.4. >------------------------------------------------------- >#define AFP_SERVER_NAME_LEN > >Apple Filing Protocol Programming Guide >Page 11 > >> A string in Pascal format of up to 32 characters. > >A leading-octet of Pascal string is length. > >#define AFP_SERVER_NAME_LEN 31 about servername: abcdefghijklmnopqrstuvwxyzABCDE possible to access abcdefghijklmnopqrstuvwxyzABCDEF possible to access abcdefghijklmnopqrstuvwxyzABCDEFG impossible to access #define AFP_SERVER_NAME_LEN 32 >------------------------------------------------------- >#define AFP_MACHINETYPE_LEN > >Apple Filing Protocol Programming Guide >Page 11 > >>A string in Pascal format of up to 16 characters that describes >>the file server's hardware and software but has no significance to AFP. > >#define AFP_MACHINETYPE_LEN 15 maybe, #define AFP_MACHINETYPE_LEN 16 -- HAT |