Hello i've stumbled on a strange problem on IOS 8.0.2
My app uses posix api to create tcp socket connect to the server, and send some data over it. At the and close() is called with the socket handle and the program terminates. I've remarked that the TCP FIN packet is sent to the server only after the program is exited. To overcome this problem i have to use shutdown() call on the socket. Any ideas why this happens? Maybe because the socket created in one thread and closed in another one?