Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: [lpc2000] Re: UDP socket setting....

2005-11-07 by David Hawkins

Michael Johnson wrote:
> I'd use the Windows Sockets 2 API which has select().
> 
> Regards
> Michael
> 
> 
>>I know what you mean Gus. I am going blind looking through the docs. 
>>Hope some one has an answer so that I can get on with the enbedded 
>>stuff again...

How much host-side programming are you thinking of doing?
I gave up writing lower level code a year or so ago, and
bit-the-bullet and starting using ACE

http://www.cs.wustl.edu/~schmidt/ACE.html

Its a set of C++ classes and 'frameworks' (templatized
application components, like servers and client
connection steps) that operate across Linux, Solaris,
Windows, VxWorks, RTEMs, etc.

There are three books on the subject;

   C++ Network Programming Volume 1
   C++ Network Programming Volume 2
   The ACE Programmers Guide

If you think you might be interested in using this, feel free
to ask me questions.

I personally have not used UDP for comms, I use TCP. So don't have
any specific comments there. However, the ACE classes are all
setup with timeouts and connection control logic.

Cheers
Dave

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.