c# - Timeouts in Silverlight Sockets -


i'm using sockets in silverlight application stream data server client.

however, i'm not quite sure how timeouts handled in silverlight socket.
in documentation, cannot see receivetimeout silverlight.

  • are user-defined timeouts possible? how can set them? how can notifications when send / receive operation times out?
  • are there default timeouts? how big they?
  • if there no timeouts: what's easiest method implement these timeouts manually?

i've checked socket class in reflector , there's not single relevant setsockopt call deals timeouts - except in dispose method. looks silverlight relies on default timeout of winsock api.

the socket class contains "setsocketoption" method private might able call via reflection - though run security exception.


Comments