Differences From Artifact [146d82e777]:
- File src/OFTCPSocket.h — part of check-in [d983af3d93] at 2011-03-29 23:19:11 on branch trunk — Make it possible to let -[bindToPort:onHost:] choose a port. (user: js, size: 2288) [annotate] [blame] [check-ins using]
To Artifact [2a976521af]:
- File
src/OFTCPSocket.h
— part of check-in
[d776cbf5e2]
at
2011-04-06 18:30:13
on branch trunk
— Move ivar listening to OFTCPSocket.
Also, we don't need these ivars to be @public anymore. (user: js, size: 2306) [annotate] [blame] [check-ins using]
︙ | |||
32 33 34 35 36 37 38 39 40 41 42 43 44 45 | 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | + | * \brief A class which provides functions to create and use TCP sockets. * * To connect to a server, create a socket and connect it. * To create a server, create a socket, bind it and listen on it. */ @interface OFTCPSocket: OFStreamSocket { BOOL listening; struct sockaddr *sockAddr; socklen_t sockAddrLen; } /** * Connect the OFTCPSocket to the specified destination. * |
︙ |