SocketInputAdapter updated