124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
|
newWithClass: isa
node: node
service: service];
}
if ((se = getservbyname([service cString], "TCP")) != NULL)
port = se->s_port;
else if ((port = OF_BSWAP16_IF_LE(strtol([service cString], NULL,
10))) == 0) {
# ifdef OF_THREADS
[addrlist release];
[mutex unlock];
# endif
@throw [OFAddressTranslationFailedException
newWithClass: isa
|
|
|
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
|
newWithClass: isa
node: node
service: service];
}
if ((se = getservbyname([service cString], "TCP")) != NULL)
port = se->s_port;
else if ((port = of_bswap16_if_le(strtol([service cString], NULL,
10))) == 0) {
# ifdef OF_THREADS
[addrlist release];
[mutex unlock];
# endif
@throw [OFAddressTranslationFailedException
newWithClass: isa
|
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
|
newWithClass: isa
node: node
service: service];
}
if ((se = getservbyname([service cString], "TCP")) != NULL)
port = se->s_port;
else if ((port = OF_BSWAP16_IF_LE(strtol([service cString], NULL,
10))) == 0) {
# ifdef OF_THREADS
[mutex unlock];
# endif
@throw [OFAddressTranslationFailedException
newWithClass: isa
node: node
|
|
|
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
|
newWithClass: isa
node: node
service: service];
}
if ((se = getservbyname([service cString], "TCP")) != NULL)
port = se->s_port;
else if ((port = of_bswap16_if_le(strtol([service cString], NULL,
10))) == 0) {
# ifdef OF_THREADS
[mutex unlock];
# endif
@throw [OFAddressTranslationFailedException
newWithClass: isa
node: node
|