Networking Section Index | Page 6
Some common protocols for doing this are: Daytime (RFC 867) Time (RFC 868) SNTP (RFC 2030) The FAQ at http://www.jguru.com/jguru/faq/view.jsp?EID=10435 tells you where you can find these RFCs. ...more
JKermit, found at http://www.serialio.com/products/jkermit.htm, is one such Java-based implementation.
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.
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
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
Commercially: Network Associate's PGP Security Free for non-commercial use: PGP Freeware Free: GNU Privacy Guard (gnupg) Cryptix OpenPGP more
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
Well, a first cut has been made in the Cryptix OpenPGP package.
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
Check out the Cryptix SASL Library.
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
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