Table of Contents

wxIPV4address

include file: wxNet.e


Creation parameters: none

  • proc any_address( atom addr )   
  • func set_ip_host( atom ip, sequence name )   
  • func set_ip_service( atom ip, object service )     
     
    Parent Topics:
  • Classes
  • Networking


    Table of Contents

    [proc]
    any_address
    ( atom addr )

    Category: wxIPV4address

    Returns a local address. This function should be used instead of using 127.0.0.1 or localhost.

    See Also: set_ip_host, set_ip_service



    Table of Contents

    [func]
    set_ip_host
    ( atom ip, sequence name )

    Category: wxIPV4address

    Set the address to hostname, which can be a host name or an IP-style address in dot notation (a.b.c.d)

    See Also: any_address, set_ip_service



    Table of Contents

    [func]
    set_ip_service
    ( atom ip, object service )

    Category: wxIPV4address

    Sets the port according to the specified service. If service is a sequence, then the port is set to the corresponding service, otherwise, the port is set to service.

    See Also: any_address, set_ip_host