Differences From Artifact [2b709ddc80]:
- File
src/OFUDPSocket.m
— part of check-in
[e5b2ee56ff]
at
2020-04-26 16:21:38
on branch trunk
— Add OFSequencedPacketSocket
This is intended for SCTP and SPX. (user: js, size: 4966) [annotate] [blame] [check-ins using]
To Artifact [851b1788ef]:
- File src/OFUDPSocket.m — part of check-in [bc67e98833] at 2020-05-06 00:32:10 on branch trunk — Improve names of several properties (user: js, size: 4966) [annotate] [blame] [check-ins using] [more...]
| ︙ | ︙ | |||
54 55 56 57 58 59 60 | @throw [OFBindFailedException exceptionWithHost: host port: port socket: self errNo: of_socket_errno()]; } | | | 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 |
@throw [OFBindFailedException
exceptionWithHost: host
port: port
socket: self
errNo: of_socket_errno()];
}
_canBlock = true;
#if SOCK_CLOEXEC == 0 && defined(HAVE_FCNTL) && defined(FD_CLOEXEC)
/* {} needed to avoid warning with Clang 10 if next #if is false. */
if ((flags = fcntl(_socket, F_GETFD, 0)) != -1) {
fcntl(_socket, F_SETFD, flags | FD_CLOEXEC);
}
#endif
|
| ︙ | ︙ |