of what I need:
1. C++ (not C). I would have preffered to write in C++ but it would bloat
the final executable too much as far as I can tell. Also I'm not sure how well
mingw32 handles cross-compiling C++ code.
2. It's HUGE and all-encompassing (it provides portable process control,
theads , CORBA, inter-process communications, portable mmap() and god
knows what else they added since I last played with it (and I'm giving God a
large chunk of credit here :)).
3. Since I plan to ask people to run this program (it's a test program) on their
machines for me I'd like to keep things as simple as possible so they can audit
my code if they don't trust me or my programming abilities. From my experience
with ACE simplicity is not its strongest point.
All I need is to open a UDP socket and send/receive less than ten packets, then exit.
No privileged stuff. No need to access the disk no fancy threads, nothing.
I expect my C program (if written just for Linux) to be less than 500 lines long.
But thanks anyway.
Cheers,
--amos
shany pozin wrote:
You can use ACE http://www.cs.wustl.edu/~schmidt/ACE-overview.html which is both open source and portable
Shany
From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: portable socket libraries? (linux/windows, c) Date: Tue, 04 May 2004 14:35:54 +0300
Hello,
I am looking for an easier way to program a simple UDP socket program for both
Windows and Linux than using "#ifdef __WIN32__" and typedefing SOCKET etc.
I found SFL (http://freshmeat.net/projects/sfl/) but I am pretty sure that I saw
a more specialised library which I can't find now.
The program I write must be small, have a console interface (i.e. prompt for a text
input on a console window) and possible to develop and compile under Linux (debian
unstable). I use mingw32 to produce win32 binaries.
Does anyone can recommand anything?
Thanks,
--Amos
================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]