4

Opened a WebSocket using a WebSocket4Net client against a relatively quiet server. After 4 minutes the socket is receiving a close message. After 4 minutes the socket is receiving a close message if no other message activity is received on the socket.

Is there a timeout that is defined in the WebSocket? I'm trying to determine for certain that the WebSocket is closing from a timeout as the server has no activity timeout set so would allow the socket to remain connected indefinitely.

wonea
  • 4,783
  • 17
  • 86
  • 139
Canda
  • 61
  • 5

1 Answers1

2

According to Kerry Jiang on this thread, http://websocket4net.codeplex.com/discussions/403988, the answer is no. The issue lies in the websocket server disconnecting.

Canda
  • 61
  • 5