OFSocket Class Reference

#import <OFSocket.h>

Inheritance diagram for OFSocket:
OFStream OFObject OFTCPSocket

List of all members.

Public Member Functions

(id) - setBlocking:
(id) - connectToService:onNode:
(id) - bindService:onNode:withFamily:
(id) - listenWithBackLog:
(id) - listen
(OFSocket *) - accept
(id) - enableKeepAlives:
(id) - close

Static Public Member Functions

(id) + socket

Protected Attributes

int sock
struct sockaddr * saddr
socklen_t saddr_len
BOOL eos

Detailed Description

The OFTCPSocket class provides functions to create and use sockets.


Member Function Documentation

- (id) close  

Closes the stream.

Reimplemented from OFStream.

Reimplemented in OFTCPSocket.

- (id) setBlocking: (BOOL)  enable  

Enables/disables non-blocking I/O.

+ (id) socket  
Returns:
A new autoreleased OFTCPSocket

The documentation for this class was generated from the following files:
 All Classes Functions Variables

Generated on Thu Dec 24 11:10:00 2009 for ObjFW by  doxygen 1.6.1