Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 04-11-2008
codeazure
 
 
Posts: n/a
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
Reply With Quote
  #2 (permalink)  
Old 04-11-2008
matthew's Avatar
matthew matthew is online now
ZeroC Staff
 
Name: Matthew Newhook
Organization: ZeroC, Inc.
Project: Internet Communications Engine
 
Join Date: Feb 2003
Location: NL, Canada
Posts: 1,052
You are free to use whatever you like. However, I don't recommend using anything outside of the Ice public API. We don't provide support for the use of any of these APIs, and furthermore the APIs are subject to change without notice.
Reply With Quote
  #3 (permalink)  
Old 04-12-2008
mwilson mwilson is offline
Registered User
 
Name: Mark Wilson
Organization: University of Rochester
Project: Omega EP laser
 
Join Date: Jul 2005
Location: Rochester, NY
Posts: 73
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
Reply With Quote
  #4 (permalink)  
Old 04-14-2008
2wheelsrsd 2wheelsrsd is offline
Registered User
 
Name: Garth Lancaster
Organization: MBF Australia
Project: <just lookin>
 
Join Date: Apr 2008
Posts: 2
Thumbs up I second 'ACE'

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)
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

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


All times are GMT -4. The time now is 11:54 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.