Monkey Documentation

Class SocketAddress


Constructors:
  • New ()
  • New ( host:String, port:int )
  • New ( address:SocketAddress )
Properties:

Constructor Documentation

Method New ()

Creates a new empty socket adress.

Method New ( host:String, port:int )

Creates a new socket address with the given host and port.

Method New ( address:SocketAddress )

Creates a new socket address that is a copy of the given address.


Property Documentation

Method Host : String () Property

Returns the socket address host.

Method Port : Int () Property

Returns the socket address port.

Method ToString : String () Property

Returns a string representation of the socket address.