161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
|
protocolType: protocolType
socket: self
errNo: EAFNOSUPPORT];
}
#ifdef OF_MACOS
if (setsockopt(_socket, ATPROTO_NONE, DDP_STRIPHDR, &one,
sizeof(one)) != 0 || ioctl(_socket, _IOWR('a', 2,
struct ATInterfaceConfig), &config) != 0)
@throw [OFBindDDPSocketFailedException
exceptionWithNetwork: network
node: node
port: port
protocolType: protocolType
socket: self
|
|
|
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
|
protocolType: protocolType
socket: self
errNo: EAFNOSUPPORT];
}
#ifdef OF_MACOS
if (setsockopt(_socket, ATPROTO_NONE, DDP_STRIPHDR, &one,
(socklen_t)sizeof(one)) != 0 || ioctl(_socket, _IOWR('a', 2,
struct ATInterfaceConfig), &config) != 0)
@throw [OFBindDDPSocketFailedException
exceptionWithNetwork: network
node: node
port: port
protocolType: protocolType
socket: self
|