Next: , Up: Sockets.AbstractSocket   [Index]


6.1.1 Sockets.AbstractSocket class: defaults

defaultAddressClass

Answer the default address family to be used. In the library, the address family is represented by a subclass of SocketAddress which is by default IPAddress.

defaultAddressClass: class

Set the default address family to be used. In the library, the address family is represented by a subclass of SocketAddress which is by default IPAddress.

defaultImplementationClassFor: aSocketAddressClass

Answer the default implementation class. Depending on the subclass, this might be the default stream socket implementation class of the given address class, or rather its default datagram socket implementation class.