I am building a server client application using netty and ios, I am facing a problem when the user just turns off WiFi on his/her ios device, the netty server does not know
Use IdleStateHandler
You can detect when there is no request/responses in given time intervals.