This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: propose to rename natPlainSocketImpl to natPosixPlainSocketImpl



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]