Async sockets

  • Thread starter Thread starter news.eclipse.co.uk
  • Start date Start date
N

news.eclipse.co.uk

Hi,

We were using AppForge Crossfire until they disappeared a little while ago.
So now were looking at replacing various bits of that with other components.

Regarding sockets, we would like a component that works asyncronously, so we
can catch an event when data arrives, and then simply read it from a
property. This would fit in with existing code so re-writes wuld be kept to
a minimum.

Does anyone know of such a component ?

Cheers,
Philip.
 
Philip,
The compact framework has a System.Net.Sockets.Socket class. This class has
a BeginReceive that allows you to asynchronously receive from connected
sockets and an accept method that allows you to intercept incoming socket
request and process them. There are examples on MSDN that show how to use
these components both synchronously and asynchronously.

Rick D.
Contractor
 
Back
Top