C++ socket classes for OS/2
virtual int writeTry( char * buf , int size )
Maybe write up to size characters, if it can be done without blocking.