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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top