Differences From Artifact [48237f617c]:
- File
src/OFSCTPSocket.h
— part of check-in
[0fd2b1b4c8]
at
2024-05-04 20:05:40
on branch sctp
— OFSCTPSocket: Use a dictionary for message info
This is more extensible. Without this, extending it later would result
in an API and ABI breakage. (user: js, size: 13778) [annotate] [blame] [check-ins using] [more...]
To Artifact [9bff306013]:
- File src/OFSCTPSocket.h — part of check-in [164f2fb4bf] at 2024-06-17 21:08:05 on branch trunk — Always use <ObjFW/ObjFW.h> in documentation (user: js, size: 13764) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
101 102 103 104 105 106 107 | * @return The data to repeat the send with or nil if it should not repeat */ typedef OFData *_Nullable (^OFSCTPSocketAsyncSendDataBlock)( id _Nullable exception); #endif /** | | | 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 | * @return The data to repeat the send with or nil if it should not repeat */ typedef OFData *_Nullable (^OFSCTPSocketAsyncSendDataBlock)( id _Nullable exception); #endif /** * @protocol OFSCTPSocketDelegate OFSCTPSocket.h ObjFW/ObjFW.h * * A delegate for OFSCTPSocket. */ @protocol OFSCTPSocketDelegate <OFSequencedPacketSocketDelegate> @optional /** * @brief A method which is called when a socket connected. |
︙ | ︙ | |||
154 155 156 157 158 159 160 | - (nullable OFData *)socket: (OFSCTPSocket *)socket didSendData: (OFData *)data info: (nullable OFSCTPMessageInfo)info exception: (nullable id)exception; @end /** | | | 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 | - (nullable OFData *)socket: (OFSCTPSocket *)socket didSendData: (OFData *)data info: (nullable OFSCTPMessageInfo)info exception: (nullable id)exception; @end /** * @class OFSCTPSocket OFSCTPSocket.h ObjFW/ObjFW.h * * @brief A class which provides methods to create and use SCTP sockets in * one-to-one mode. * * To connect to a server, create a socket and connect it. * To create a server, create a socket, bind it and listen on it. */ |
︙ | ︙ |