HomeManualTopicsTypesSymbols

std::sethostname

sets the hostname of the local computer

Parameter

name
the new hostname

Results

None

Description

This function needs I/O-access rights.

Topic

POSIX

See also

std::gethostname returns the hostname of the local computer