LWL v0.8 - Reference Manual


extern const char* lwl_get_hostname

(lwlh_t HANDLE )

Returns the hostname of a LWL handle.

Documentation

Returns the hostname of a LWL handle. Returns the hostname if HANDLE's options includes LWL_OPT_IP and/or LWL_OPT_ADR. Returns NULL otherwise.

Requires: HANDLE must be a LWL handle successfully allocated by lwl_alloc().

docppcomment:

Parameters:
HANDLE - The LWL handle to use.
Returns:
The hostname on which runs your client programm in case of success, NULL otherwise.

Alphabetic index


LWL Reference Manual
Last modified: Wed Jun 26 15:51:54 CEST 2002