Results 1 to 2 of 2

Thread: how to do client asynchronous socket in ASP.NET

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Nov 2003
    Posts
    784

    how to do client asynchronous socket in ASP.NET

    Dear All,

    I am in the progress build a client ASP.NET application (C#) that can display messages from a server application as soon as it receives them.

    At the moment I am using an Asynchronous Client Socket but the OnRead event does not fired as soon as the server sent the strings

    could any body please help, how to do client asynchronous socket in ASP,NET?

    many thanks in advance

    Regards

  2. #2
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: how to do client asynchronous socket in ASP.NET

    Hello,

    Is it possible that you can show the code that you are using? It is difficult to see how you are going to achieve this without using something like AJAX or Silverlight on the client in order to know when something has happened on the server. Is this what you are doing?

    For what it is worth, here is a complete sample of using the Asynchronous Client Socket:

    http://msdn.microsoft.com/en-us/library/bew39x2a.aspx

    Gary

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width