network functions
Tom Tromey
tromey@redhat.com
Tue Nov 19 12:37:00 GMT 2002
>>>>> "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
More information about the Java
mailing list