Sockets - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Connectivity : Web Features : Network Communication : Sockets Package : Sockets/GetHostName

Sockets

  

GetHostName

  

retrieve the name of the local host

 

Calling Sequence

Description

Examples

Calling Sequence

GetHostName()

Description

• 

The procedure GetHostName obtains a valid node name for the local machine. It returns a string that contains some valid hostname for the machine on which the calling process is running.

• 

A fully qualified domain name is returned if possible. If all methods to determine the name of the local host fail, then the string "localhost" is returned.

Examples

Sockets[GetHostName]

rdgetroll1.maplesoft.com

(1)

See Also

Sockets

 


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam