propose to rename natPlainSocketImpl to natPosixPlainSocketImpl

Adam Megacz gcj@lists.megacz.com
Fri Feb 1 16:21:00 GMT 2002


Nic Ferrier <nferrier@tapsellferrier.co.uk> writes:
> I believe the intention was to make natPlainSocketImpl do everything,
> winsock is similar enough (I understand) to make that possible.

You have to use send()/recv() instead of read()/write(), and detecting
failures/errors is totally different. I suppose with a fat block of
#define's you could get them to share all of the code, though.

  - a



More information about the Java mailing list