Re: Similar to WinSock

Tech-Archive recommends: Speed Up your PC by fixing your registry



Tom,
Thank you for advice.
I reviewed some docs, but didn't find any good examples yet. I really want
to understand how this thing works.

ValK

"Tom Shelton" wrote:

> On 2005-04-26, ValK <ValK@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
> > Hi.
> > Does .NET have something Similar to WinSock ocx?
> > I reviewed System.Net.Sockets. It works good, but I really like event
> > 'DataArrival' that old WinSock have.
>
> Use System.Net.Sockets in Async mode...
>
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconsockets.asp
>
> Pay attention to the parts about async sockets. Basically, you use
> BeginRead - and when there is data available, it calls an application
> defined callback function.
>
> --
> Tom Shelton [MVP]
>
.



Relevant Pages