- Declared in:
- ETSocket.h
@group Network and Communication
Returns a socket listening on aPort for the address specified by anAddress.
Returns a socket listening aPort for an address of the local machine.
Initializes the socket to listen on aPort for the address specified by anAddress.
Initializes the socket to listen on aPort for an address of the local machine.
Initializes a listening socket with the contents of a sockaddr_* structure encapsulated in the NSData object socketAddress.
Tracks whether the socket is already accepting connections.
- Declared in:
- ETSocket.h
@group Network and Communication
The ETSocket class provides a simple wrapper around a socket. The socket is opened when the object is created, and closed when it is destroyed.
Returns a new socket connected to the specified host, with the specified service name on the first protocol to respond.
Sends the specified data through the socket. Throw ETSocketException if sending failed.
Buffer used for receiving data.
Reference to the delegate.
File handle encapsulating the socket. Used for runloop integration.
Array of filters used for filtering the input.
Array of filters used for filtering the output.
OpenSSL context.
OpenSSL context.
- Declared in:
- ETSocket.h
@group Network and Communication
Informal protocol for delegates to listening sockets.
Handle a new connection request received by listenerSocket.
- Declared in:
- ETSocket.h
@group Network and Communication
Informal protocol for socket delegates.
Handle data received over the specified socket.
- Declared in:
- ETSocket.h
@group Network and Communication
Protocol for socket data filters. Data sent or received by an ETSocket instance will be pushed through a chain of filters conforming to this protocol.
Filter the data and return the result. The caller must not retain a reference to the argument; filters are permitted to modify the data in-place and return the argument.
Exception thrown on abrupt termination.