This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: propose to rename natPlainSocketImpl to natPosixPlainSocketImpl
- From: Adam Megacz <gcj at lists dot megacz dot com>
- To: java at gcc dot gnu dot org
- Date: 01 Feb 2002 16:17:28 -0800
- Subject: Re: propose to rename natPlainSocketImpl to natPosixPlainSocketImpl
- Organization: Myself
- References: <86zo2tolwu.fsf@megacz.com> <87k7txa32y.fsf@tf1.tapsellferrier.co.uk>
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