Networking Section Index | Page 6
Are there any Kermit implementations available in Java?
JKermit, found at http://www.serialio.com/products/jkermit.htm, is one such Java-based implementation.
How do you tell an applet to use a proxy server?
The browser's proxy settings are transparently used by the applet. There is nothing you need to do from the applet to use the proxy. Just make sure they are set properly for the browser.
How can I determine the subnet mask and IP broadcast address?
Java currently has no facility for determining a subnet mask.
A subnet mask is used to denote which bits in an IP address
are the "network" part and which bits are the "machine"...more
How can I force an applet to use HTTP/1.1?
Instead of using a URL/URLConnection, open the Socket directly, and in your request, specify the HTTP version:
out.print("GET " + urlString + " HTTP/1.1
");
The HTTP protocol ...more
What is OpenPGP?
OpenPGP is an IETF
specification for a standard, completely open
PGP (Pretty Good Privacy).
OpenPGP is defined in
RFC 2440 as providing "data integrity services for messages and data
files&...more
What is SASL (Simple Authentication and Security Layer)?
SASL is the Simple Authentication and Security Layer
which is specified in
RFC 2222. SASL is a way to add authentication support to
connection-based protocols (such as SMTP, LDAP, POP, IMAP).
more
What OpenPGP solutions are available?
Commercially: Network Associate's PGP Security
Free for non-commercial use:
PGP Freeware
Free:
GNU Privacy Guard (gnupg)
Cryptix OpenPGP
more
Where can I find a free, Java implementation of OpenPGP?
Well, a first cut has been made in the
Cryptix OpenPGP package.
Where can I find a free, Java implementation of SASL (Simple Authentication and Security Layer)?
Check out the
Cryptix SASL Library.
Where can I find free Java implementations of SSL/TLS?
Check out:
PureTLS
Sun's JSSE Reference Implementation
How can I connect to a URL through a proxy, using HTTPS? I set all the required properties but it works only with HTTP and not with HTTPS.
The properties described in the FAQ at http://www.jguru.com/jguru/faq/view.jsp?EID=9920
work only for HTTP, not HTTPS. If you are using JDK1.2.2 and JSSE you can set the https.proxyHost and https...more
How can I retrieve the HTTP header information for a URL?
To examine the HTTP headers, you use the
getHeaderField() method of URLConnection.
The HTTP headers are returned separately from the
content of the URL, and reading from the URL's
input stream onl...more
I'm trying to open a URL using HttpURLConnection, but the page that I'm looking at has a redirect instruction.
I'm trying to open a URL using HttpURLConnection, but
the page that I'm looking at has a redirect instruction.
If I use the method setFollowRedirects() with false,
I don't get the proper page, but ...more
The documentation for the receive() method of DatagramSocket says that the received message is truncated if the datagram packet buffer is not big enough to hold it.
The documentation for the receive() method of DatagramSocket says that the
received message is truncated if the datagram packet buffer is not big enough to hold it.
Is there a way to know that this...more
Why am I getting the port number -1 when I use the getPort() method of URL?
A URL doesn't imply a socket connection to a resource - it
is just a string representation telling you where that resource
can be found on the network. In particular, in order to determine
the &q...more