Events under sockets

G

Guest

I am new to both sockets and Netcf.

My task is to move an instrument controller module (called an ICE
implemented on a ICE.dll) down into a Pcb that supports Netcf. At present at
the Desktop level it uses Remoting to communicate with another application.

After reading various articles, the Msdn and this newsgroup I believe that
Sockets would be a good choice for us since Remoting is not supported on the
Netcf.

We manufacture analytical instruments for chemists (ICP's, Atomic Absorption
spectrometers, etc). Each will include a WinCe with an ICE to control it.

The desktop version uses Remoting to communicate between parts of the
system. Remoting is not available on Netcf so we are planning to use sockets.

Remoting offers events which we use at the desktop level.

Are events part of the socket functionality or do you simulate then using a
separate thread to listen for incoming traffic, signalling the main thread
when something has arrived via the socket?

Any suggestions would be appreciated.

--John Olbert
(e-mail address removed)
 
D

Dick Grier

Hi,
Are events part of the socket functionality or do you simulate then using a
separate thread to listen for incoming traffic, signalling the main thread
when something has arrived via the socket
<<

The second -- you raise an event from your listener thread.

Dick

--
Richard Grier (Microsoft Visual Basic MVP)

See www.hardandsoftware.net for contact information.

Author of Visual Basic Programmer's Guide to Serial Communications, 4th
Edition ISBN 1-890422-28-2 (391 pages) published July 2004. See
www.mabry.com/vbpgser4 to order.
 

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

Top