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: network functions


>>>>> "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


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