Watt-32 tcp/ip  2.2 dev-rel.10
Functions
bsdname.h File Reference

Go to the source code of this file.

Functions

int _get_machine_name (char *buf, int size)
 Try asking a LAN extension of DOS for a host-name. More...
 
void _sethostid6 (const void *addr)
 Core-style: Sets local IPv6-address. More...
 
const void_gethostid6 (void)
 Core-style: Returns local IPv6-address. More...
 

Function Documentation

int _get_machine_name ( char *  buf,
int  size 
)

Try asking a LAN extension of DOS for a host-name.

Work for a DOS-box under Windows-XP.

Definition at line 351 of file bsdname.c.

const void* _gethostid6 ( void  )

Core-style: Returns local IPv6-address.

Note
no BSD equivalent for this.
Return values
pointerto current local IPv6 address.

Definition at line 91 of file bsdname.c.

References netdb_init().

void _sethostid6 ( const void addr)

Core-style: Sets local IPv6-address.

Note
no BSD equivalent for this.

Definition at line 102 of file bsdname.c.