> The only thing I had to add was that damn WSA_Startup() call MS want
> us to use,

Yup - we always need an ifdef for that one...

> and (so far...) closesocket() instead of close().

I have a bunch of macros I use for sockets that "hide" the main
differences between a "real" BSD sockets implementation and the winsock
one, the "close" vs. "closesocket" being one example.
The downside is that the resulting code is sockets specific so can't
easily be repurposed to use with a general pipe implementation or
whatever.
But since that seldom works on win32 anyway, it doesn't lose me much
functionality...





SELEX Galileo Ltd
Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 
3EL
A company registered in England & Wales.  Company no. 02426132
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************

_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to