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.
→ Expand all
→ Collapse all
Returns a new socket connected to the specified host, with the specified service name on the first protocol to respond.
Negotiates an SSL (client) connection. Returns YES on success.
Sets the delegate.
Sends the specified data through the socket. Throw ETSocketException if sending failed.