Re: DatagramSocketImpl

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2008-03-26 at 14:15 +0000, João Aguiam wrote:
> I haven't explain myself correctly. This method is in
> DatagramSoctekImpl class. This class is abstract and java.net doesn't
> provide a concretization. How can I solve this?
> 
> thanks
> joao

If it's abstract, you have to provide your own implementation.

I don't know if it's possible to get a TTL for a socket in pure java (I
think you need OS support for that, but I may be wrong). You can give a
look at PlainDatagramSocketImpl (and it's delegated implementation) to
have an idea on how to implement this method.

Cheers,
Mario
-- 
Mario Torre, Software Developer, http://www.jroller.com/neugens/
aicas Allerton Interworks Computer Automated Systems GmbH
Haid-und-Neu-Straße 18 * D-76131 Karlsruhe * Germany
http://www.aicas.com   * Tel: +49-721-663 968-53
pgp key: http://subkeys.pgp.net/ PGP Key ID: 80F240CF
Fingerprint: BA39 9666 94EC 8B73 27FA  FC7C 4086 63E3 80F2 40CF

USt-Id: DE216375633, Handelsregister HRB 109481, AG Mannheim
Geschäftsführer: Dr. James J. Hunt

Please, support open standards:
http://opendocumentfellowship.org/petition/
http://www.nosoftwarepatents.com/




[Index of Archives]     [Linux Kernel]     [Linux Cryptography]     [Fedora]     [Fedora Directory]     [Red Hat Development]

  Powered by Linux