Hello.
Right now i'm writing an iPhone app that will interact with a network, and i plan to use a non-blocking berkley sockets so i can a full control about connect(), accept() and recv() timings. The one queston i'm not sure yet is how to correctly shut down lenghly connect() and recv() opertions (that can be minutes long). In UNIX, this is done by creating a pipe and using it, alongside with sockets, in select() request. Writing something in a pipe will immediately abort select() so i can check for shutdown etc. But is it possible to use pipes on iPhone and is it possible to use them with select()? Any insight or comment is welcomed.