Patch: new methods in gnu.java.net.Plain(Datagram)SocketImpl ?
Michael Koch
konqueror@gmx.de
Sat Sep 20 13:27:00 GMT 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi list,
I would like to add one new method to PlainDatagramSocketImpl and
PlainSocketImpl called getNativeFD:
public int getNativeFD();
This method should return the native file description of the the
socket. There is imho no security concern about this an user
application can only get file descriptors of self created socket
objects. Neither java.net nor java.nio allow the access to socket
implementation objects after the the creation of sockets or socket
channels.
Any Comments ? Ok to commit to trunk ?
Michael
- --
Homepage: http://www.worldforge.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
iD8DBQE/bFGbWSOgCCdjSDsRAvjWAKCa5ER3LmDMcom1YaOVdfeevF1r9wCghNcB
k/4I8I+ChYE7965hGB06akA=
=FW18
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gnunet.diff
Type: text/x-diff
Size: 2282 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20030920/37117881/attachment.bin>
More information about the Java-patches
mailing list