|
|
|
|||||
|
Use of low level socket library
In my C++ application, I have to provide a low level TCP server socket. This will be used for a plain text protocol, which must be provided to end user apps. I also have a need to send and receive UDP multicast messages.
There are plenty of decent socket libraries for C++ (I'm using the old Sockets++ now), but I was wondering if it is possible (or a good idea) to use the underlying low level network connection classes in ICE. From what I can see in the source code, there are some classes in the IceInternal namespace that may be of use. Of course, if you call something Internal, then it sounds like you don't want applications going anywhere near it, so I guess this isn't the way to go about it. It just seems redundant for me to use a totally different low level networking library (with potentially completely different event handling mechanism), when I know Ice must be doing the same thing under the hood. I realise the focus of Ice is the RPC side of things, so I understand if you don't want to publish the lower layers. At this stage, I'm trying to get a sense of the scope of Ice. Do I have any options? Thanks, Jeff Gray |
|
|||||
|
I use ACE (Adaptive Communications Environment, just Google ACE) for timing and non-Ice related sockets programming. It is platform independent and works well on Windows, Solaris, Linux, etc. It's documented fairly well (three books have been published), and best of all is free.
__________________
Mark E. Wilson Lead Programmer/Analyst Omega EP Project Laboratory for Laser Energetics (www.lle.rochester.edu) University of Rochester Rochester, NY 14623 |
|
|||||
|
Jeff, I second mwilson's recommendation of ACE .. if you want a flexible, stable and supportable sockets layer, and cant derive/get what you need from ICE (no offense ICE guys), have a look at ACE.
(Im using it as the backbone for an AS2805 related realtime message system) cheers, Garth (2wheelsrsd) |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to use generatecs with multi-level ice folder structure... | mboozell | Help Center | 5 | 07-11-2007 11:00 AM |
| ICE and Low Bandwidth/Disrubtable Environment | beaudetious | Help Center | 4 | 07-09-2007 11:37 AM |
| Interactive communication - application-level flow control | luke | Help Center | 3 | 03-14-2007 03:28 PM |
| Setting RetryIntervals below application level | ctennis | Help Center | 4 | 12-21-2006 08:02 PM |
| Problems with Thread library | galbe | Help Center | 3 | 11-25-2003 11:25 AM |