Gabriel Sechan wrote:
*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

And the error code checking is completely different
And select() has to be emulated with pumps
And ...

I certainly wouldn't call it 99% the same.

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

That's sort of like saying that French and Chinese cooking are similar because they are completely different from catering.

A bit of a non-sequitur.

-a


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

Reply via email to