This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: network functions
- From: Tom Tromey <tromey at redhat dot com>
- To: Michael Koch <konqueror at gmx dot de>
- Cc: java at gcc dot gnu dot org
- Date: 19 Nov 2002 10:16:55 -0700
- Subject: Re: network functions
- References: <200211191841.29065.konqueror@gmx.de>
- Reply-to: tromey at redhat dot com
>>>>> "Michael" == Michael Koch <konqueror@gmx.de> writes:
Michael> I'm currently in the process of writing/testing some native
Michael> code for java.nio. I saw then in java/net/*.cc some useful
Michael> functions are defined (more then once), _Jv_connect,
Michael> _Jv_bind, _Jv_accept, and more.
Michael> I think it would be useful to move them to one location, probably
Michael> include/jnet.h or similar. to use them in both, java.net and
Michael> java.nio. Perhaps the are useful elsewhere later too.
Michael> What do you thin about this move ?
Sounds fine. If the function's implementation is specific to the OS
family then it could go in the platform header, e.g. posix.h.
Michael> Furthermore I would like to place prototypes of new helper
Michael> functions. e.g to connect to a remote host.
Also sounds good.
Tom