#import <ObjectiveLib/Socket.h>
Inheritance diagram for OLUnixClientSocket:
Public Member Functions | |
(void) | - bindToAddress: |
Bind the socket to a local address. | |
Static Public Member Functions | |
(id) | + socket |
Create and return a new socket. | |
(id) | + socketWithRemoteUnixAddress: |
Create and return a new socket. | |
(id) | + socketWithRemoteUnixAddress:localAddress: |
Create and return a new socket. |
Unix domain sockets don't necessarily have anything to do with Unix; it's just a description of the address family. This class is capable of connecting to Unix domain socket, including OLUnixServerSocket.
- (void) bindToAddress: | (OLSocketAddress *) | address |
Bind the socket to a local address.
After successfully sending this message the socket will be assigned the local address.
OLSocketException | if there is a problem binding the socket |
address | the address that should be assigned to the socket |
Reimplemented from OLBindableSocket.
+ (id) socket |
Create and return a new socket.
Create and return a new socket.
The socket is unconnected.
OLSocketException | if the socket cannot be created |
+ (id) socketWithRemoteUnixAddress: | (OLUnixAddress *) | remote |
Create and return a new socket.
Create and return a new socket.
The socket is immediately connected to the address remote.
OLSocketException | if the socket cannot be created and connected |
remote | the remote address to which to connect |
+ (id) socketWithRemoteUnixAddress: | (OLUnixAddress *) | remote | ||
localAddress: | (OLUnixAddress *) | local | ||
Create and return a new socket.
Create and return a new socket.
The socket is immediately bound to the address local and connected to the address remote.
OLSocketException | if the socket cannot be created and connected |
remote | the remote address to which to connect | |
local | the local address to which to bind |
|