| Open Object Rexx™: RxSock TCP/IP Socket Functions Reference | ||
|---|---|---|
| Prev | Chapter 6. Socket Class Reference | Next |
>>--address()--------------------------------------------------><
This method returns the ip address of the original hostname.
>>--address(ipaddress)-----------------------------------------><
>>--family()---------------------------------------------------><
This method returns the ip address family of the original hostname.
>>--family(newfamily)------------------------------------------><
This method sets the ip address family of the original hostname.
>>--init(hostname, port +------------+--)----------------------><
+--, family--+This method creates a new instance of the InetAddress class.
The ip address or host name of the host machine.
The port number of the connection.
The address family. The only valid value is AF_INET.
>>--makeStem()-------------------------------------------------><
This method returns a stem variable set to the current values of the instance. This method has limited usefulness to the programmer.
>>--port()-----------------------------------------------------><
This method returns port number of the original hostname.
>>--port(newport)----------------------------------------------><
This method sets the port number of the original hostname.
>>--addr()-----------------------------------------------------><
This method returns an array of ip addresses of the host.
>>--address()--------------------------------------------------><
This method returns the main ip address of the host.
>>--alias()----------------------------------------------------><
This method returns an array of alias host name of the host.
>>--alias()----------------------------------------------------><
This method returns the main host name of the host.
>>--init(hostname)---------------------------------------------><
This method create an instance of the HostInfo class and sets all the attribute methods of the instance. The hostname can be either a valid DNS host name or an ip address.
>>--makeStem()-------------------------------------------------><
This method returns a stem variable set to the current values of the instance. This method has limited usefulness to the programmer.