Differences From Artifact [804b5d55d9]:
- File
src/OFTCPSocket.h
— part of check-in
[4d9a641d87]
at
2012-09-19 23:02:02
on branch trunk
— Make async I/O possible without blocks.
Async connecting is still missing. (user: js, size: 5800) [annotate] [blame] [check-ins using]
To Artifact [cd657843ce]:
- File src/OFTCPSocket.h — part of check-in [4f149012e9] at 2012-09-19 23:57:01 on branch trunk — Make async connecting possible without blocks. (user: js, size: 6321) [annotate] [blame] [check-ins using]
︙ | |||
125 126 127 128 129 130 131 132 133 134 135 136 137 138 | 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 | + + + + + + + + + + + + + + + | * * \param host The host to connect to * \param port The port on the host to connect to */ - (void)connectToHost: (OFString*)host port: (uint16_t)port; /** * \brief Asyncronously connect the OFTCPSocket to the specified destination. * * \param host The host to connect to * \param port The port on the host to connect to * \param target The target on which to call the selector once the connection * has been established * \param selector The selector to call on the target. The signature must be * void (OFTCPSocket *socket). */ - (void)asyncConnectToHost: (OFString*)host port: (uint16_t)port target: (id)target selector: (SEL)selector; #ifdef OF_HAVE_BLOCKS /** * \brief Asyncronously connect the OFTCPSocket to the specified destination. * * \param host The host to connect to * \param port The port on the host to connect to * \param block The block to execute once the connection has been established |
︙ |