From: Andrew Lentvorski <[EMAIL PROTECTED]>
Paul G. Allen wrote:
So, I'm wondering what the programmers out there like as far as a C
library, toolkit, what-have-you for cross-platform application
development.

Does mingw not fit the bill?

Although, cross-platform socket programming is painful. It's better to use Java for that.


Funny I've written cross platform socket apps with minimal effort. The interface is 99% the same across most Unixes and Windows. The only exceptions I can think of are

*gethostbyname_r requires different parameters for all the Unix types
*MSG_PEEK flag on Windows is completely broken. If you need to peek, you need to write your own buffer layer. Of course, you frequently want to do that anyway.
*select on windows only allows tcp or udp, not both
*asynchronous IO interface is different, but easily abstractable to a common interface

Its really not that bad.  Nowhere near as bad as GUI programming.

Gabe

_________________________________________________________________
Get the latest Windows Live Messenger 8.1 Beta version. Join now. http://ideas.live.com


--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to