Socket remains open
Socket remains open
- Subject: Socket remains open
- From: airwolf <email@hidden>
- Date: Fri, 23 May 2014 14:45:55 +0200
Hello,
not sure if this is the right place for my question.
I've found out recently that my iPhone application does not close
socket connections under following conditions:
* using POSIX calls
* establish connection
* turn off wifi when in application
* close connection
* enable wifi
I was not sure about what happens, so i tried it on MacOS too
-> same behavior.
I tried it under Linux and it works, after reconnecting wifi, TCP
stack serves the FIN packets as expected.
That's why I'm posting here, because I think it maybe a kernel
issue in TCP stack?
I don't know how to investigate darwin kernel issues...
I wrote some examples to reproduce:
https://github.com/whaupt/tcp_server
https://github.com/whaupt/tcp_client
https://github.com/whaupt/ios_wlan_example
I've also filed a bugreport at bugreport.apple.com but after sending wifi and device logs I did not hear anything
for a while now.
Maybe anyone is interested in testing this or giving me some advice how to create a custom kernel with debug logs?
Kind Regards,
Wolfgang
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden