views:

20

answers:

2

I'm using AsyncSocket to write a TCP client on iPhone and need to set the Urgent Flag of TCP segments.

How to do it? I can't find relative APIs in CFSocket.

Thanks.

A: 

Nobody uses the TCP urgent flag. Why do you think you should?

St3fan
TELNET protocol needs to send some kind of commands such as "Interrupt Process" to remote socket. We can't send it as normal data because that doesn't do the job.
yehnan
+1  A: 

Call CFSocketGetNative() and do whatever you need on the native socket.

EricS