This project is read-only.

MessageReceivedEventArgs message generate an exception

Jun 6, 2012 at 11:00 PM


I have an example, very similar than example getting from here :


 websocket.Opened += new EventHandler(websocket_Opened);            websocket.Error += new EventHandler<ErrorEventArgs>(websocket_Error);            websocket.Closed += new EventHandler(websocket_Closed);            websocket.MessageReceived += new EventHandler<MessageReceivedEventArgs>(websocket_MessageReceived);            websocket.Open();

 void websocket_MessageReceived(object sender, MessageReceivedEventArgs e)       


label1.Text = e.Message;               




My problem is that e.Message is generating an Timeout Exception, so the application is broken.


Can you help me?

Jun 7, 2012 at 2:19 AM

Where did you get the Timeout Exception?

The line below never generate this kind exception:

label1.Text = e.Message;

Jun 11, 2012 at 10:42 PM

Thanks, I have resolved the issue.