/Java tutorial/tutorial/networking/end.html
HTML | 496 lines | 394 code | 77 blank | 25 comment | 0 complexity | 4900bcf4c206ba7bddcd991aa715e205 MD5 | raw file
- <?xml version="1.0" encoding="utf-8"?>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-
- <html lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <title>Custom Networking: End of Trail (The Java™ Tutorials)</title>
- <meta http-equiv="X-UA-Compatible" content="IE=edge" />
- <meta name="description" content="This networking Java tutorial describes networking capabilities of the Java platform, working with URLs, sockets, datagrams, and cookies" />
- <meta name="keywords" content="java programming, learn java, java sample code, java networking, java url, java socket, datagram, java cookie" />
- <style type="text/css">
- body {
- margin-left:10px;
- margin-right:10px;
- line-height: 1.5;
- FONT-FAMILY: Arial, Helvetica, sans-serif;
- font-size: 0.8em;
- }
-
- a:link{text-decoration:none; color:#09569d;}
- a:visited{text-decoration:none; color: #3a87cf;}
- a:hover{text-decoration:underline; }
-
- code{
- font-family:Monaco,Courier,"Courier New";
- }
-
- .header-container {
- background-color: #fff;
- border-bottom: 1px solid #C1CFDA;
- -webkit-box-shadow: 0 2px 2px rgba(117, 163, 231, 0.1);
- box-shadow: 0 2px 2px rgba(117, 163, 231, 0.1);
- }
-
- .bookwrapper {
- width: auto;
- margin: auto;
- }
-
- .clearfix {
- }
-
- .clearfloat {
- clear: both;
- overflow: auto;
- height: 0px;
- font-size: 1px;
- line-height: 0px;
- }
-
- #brandProdName {
- width: auto;
- height: auto;
- }
-
- #logocover {
- display: block;
- background: transparent url(../images/oracle-java-logo.png) 0px 0px no-repeat;
- height: 50px;
- width: 229px;
- float: left;
- }
-
- #productName {
- font-size: 16px;
- position: relative;
- top: 19px;
- padding-left: 3px;
- color: #457798;
- white-space: nowrap;
- width: 340px;
- }
- .FigureCaption {
- font-family: sans-serif;
- text-align: center;
- }
-
- #TopBar_bl {
- width: 100%;
- height: 60px;
- }
- #TopBar_br {
- width: 100%;
- height: 60px;
- }
- #TopBar_tl {
- margin-left: -110px;
- margin-right: -100px;
- align: left;
- height: 60px;
- }
- #TopBar_tr {
- width: 100%;
- height: 60px;
- }
-
- #TopBar {
- min-width:700px;
- padding:25px 100px 10px;
- margin-bottom:25px;
- clear:both;
-
- border-bottom:1px solid #d2dde5;
- border-radius: 3px;
-
- background:#efefef; /* Old browsers */
- /* IE9 SVG, needs conditional override of 'filter' to 'none' */
- background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNlMmVmZjkiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
- background: -moz-linear-gradient(top, #ffffff 0%, #e2eff9 100%); /* FF3.6+ */
- background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#e2eff9)); /* Chrome,Safari4+ */
- background: -webkit-linear-gradient(top, #ffffff 0%,#e2eff9 100%); /* Chrome10+,Safari5.1+ */
- background: -o-linear-gradient(top, #ffffff 0%,#e2eff9 100%); /* Opera 11.10+ */
- background: -ms-linear-gradient(top, #ffffff 0%,#e2eff9 100%); /* IE10+ */
- background: linear-gradient(to bottom, #ffffff 0%,#e2eff9 100%); /* W3C */
- filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e2eff9',GradientType=0 ); /* IE6-8 */
-
- }
-
- #TopBar_left {
- line-height: 14px;
- position: absolute;
- padding-top: 30px;
- padding-right: 30px;
- padding-left: 30px;
- text-align: left;
- font: 13px/20px Arial, Helvetica, sans-serif;
- font-weight: bold;
- font-size: 20px;
- color: #333;
- }
-
- #TopBar_right {
- line-height: 12px;
- float: right;
- padding-top: 10px;
- padding-right: 30px;
- text-align: left;
- }
-
- @media print {
- #BreadCrumbs, #Download {
- display: none;
- }
- }
-
-
- @media print {
- #TopBar_right {
- display: none;
- }
- }
- #TopBar_right a {
- font-size: 10px;
- margin: 3px;
- padding: 0;
- }
-
- #BreadCrumbs {
- padding: 15px 5px 0.5em 0;
- font-family: sans-serif;
- float: right;
- }
-
- #BreadCrumbs a {
- color:#09569d;
- }
-
- #BreadCrumbs a:visited, #BreadCrumbs a:link {
- text-decoration: none;
- }
-
- #BreadCrumbs a:hover, #BreadCrumbs a:active {
- text-decoration: underline;
- }
-
- #PageTitle {
- margin: 0 5px 0.5em 0;
- color: #F90000;
- }
-
- #PageContent{
- margin: 0 5px 0 20px;
- }
-
- .LeftBar_shown {
- width: 13em;
- float: left;
- }
-
- @media print {
- .LeftBar_shown {
- display: none;
- }
- }
-
- .LeftBar_hidden {
- display: none;
- }
-
- #Footer {
- padding-top: 10px;
- padding-left: 10px;
- margin-right: 10px;
- }
-
- .footertext {
- font-size: 10px;
- font-family: sans-serif;
- margin-top: 1px;
- }
- .NavBit {
- padding: 15px 5px 0.5em 0;
- font-family: sans-serif;
- }
-
- @media print {
- .NavBit {
- display: none;
- }
- }
-
- #TagNotes {
- text-align: right;
- }
-
- @media print {
- #TagNotes a:visited, #TagNotes a:link {
- color: #35556B;
- text-decoration: none;
- }
- }
-
- #Contents a, .NavBit a, #TagNotes a {
- color:#09569d;
- }
-
- #TagNotes a:visited, #TagNotes a:link,
- #Contents a:visited, #Contents a:link,
- .NavBit a:visited, .NavBit a:link {
- text-decoration: none;
- }
-
- #TagNotes a:hover, #TagNotes a:active,
- #Contents a:hover, #Contents a:active,
- .NavBit a:hover, .NavBit a:active {
- text-decoration: underline;
- }
-
- #Contents {
- float: left;
- font-family: sans-serif;
- }
- @media print {
- #Contents {
- display: none;
- }
- }
- @media screen {
- div.PrintHeaders {
- display: none;
- }
- }
- .linkLESSON, .nolinkLESSON {
- margin-left: 0.5em;
- text-indent: -0.5em;
- }
- .linkAHEAD, .nolinkAHEAD, .linkQUESTIONS, .nolinkQUESTIONS {
- margin-left: 1.5em;
- text-indent: -0.5em
- }
- .linkBHEAD, .nolinkBHEAD {
- margin-left: 2.5em;
- text-indent: -0.5em
- }
- .linkCHEAD, .nolinkCHEAD {
- margin-left: 3.5em;
- text-indent: -0.5em
- }
- .nolinkLESSON, .nolinkAHEAD, .nolinkBHEAD, .nolinkCHEAD,
- .nolinkQUESTIONS {
- font-weight: bold;
- color: #333;
-
-
- }
- .MainFlow_indented {
- margin-right: 10px;
- margin-left: 15em;
- margin-bottom: 2em;
- }
- .MainFlow_wide {
-
- margin-right: 10px;
- margin-left: 10px;
- margin-bottom: 2em;
- }
- @media print {
- .MainFlow_indented, .MainFlow_wide {
- padding-top: 0;
- margin-top: 10px;
- margin-right: 10px;
- margin-left: 0;
- }
- }
- h1, h2, h3, h4, h5 {
- color: #333;
-
- }
- h1 {
- font-weight: bold;
- font-size: 20px;
- }
- h2 {
- font-weight: bold;
- font-size: 17px;
- }
- h3 {
- font-weight: bold;
- font-size: 14px;
- }
- h4 {
- font-size: 15px;
- }
- h5 {
- font-size: 12px;
- }
- #ToggleLeft {
- display: none;
- }
-
- .note {
- margin: 0 30px 0px 30px;
- }
-
- .codeblock {
- margin: 0 30px 0px 30px;
- font-size:12px;
- font-family:Monaco,Courier,"Courier New";
- }
-
- .tocli {
- list-style-type:none;
- }
- .betadraft {
- color: red;
- }
- </style>
- </head>
- <body>
- <noscript>
- A browser with JavaScript enabled is required for this page to operate properly.
- </noscript>
- <!-- endheader -->
- <div class="header-container">
- <div class="bookwrapper clearfix">
- <div id="brandProdName">
- <div id="logocover"></div>
- <div id="productName" >Documentation</div>
- </div>
- <br class="clearfloat" />
- </div>
- </div>
-
- <div id="TopBar">
- <div id="TopBar_tr"> <div id="TopBar_tl"> <div id="TopBar_br"> <div id="TopBar_bl">
- <div id="TopBar_left">
- The Java™ Tutorials
- </div>
- <div id="TopBar_right">
- <a target="_blank"
- href="http://www.oracle.com/technetwork/java/javase/downloads/java-se-7-tutorial-2012-02-28-1536013.html">Download Ebooks</a><br />
- <a target="_blank"
- href="http://www.oracle.com/technetwork/java/javase/downloads/index.html">Download JDK</a>
- <br />
- <a href="../search.html" target="_blank">Search Java Tutorials</a>
- </div>
- </div> </div> </div> </div> </div>
- <div class="MainFlow_wide">
- <div id="BreadCrumbs">
- <a href="../index.html" target="_top">Home</a>
- </div>
- <div class="NavBit">
- <a href="cookies/custom.html">« Previous</a>
- •
- <a href="./TOC.html">Trail</a>
- </div>
- <div id="PageTitle"><h1>Custom Networking: End of Trail</h1></div>
- <div id="PageContent">
- <p>You have reached the end of the "Custom Networking" trail.</p>
- <p>If you have comments or suggestions about this trail,
- use our <a href="http://docs.oracle.com/javase/feedback.html">feedback page</a>
- to tell us about it.
- </p>
- <!--
- <h2>
- What next?
- </h2>
- <p>Once you've caught your breath,
- you have several choices of where to go next.
- You can go to the <a href="../index.html">front page</a>
- to see all of your choices,
- or you can go directly to one of the following related trails:
- </p>
- -->
- <!--
- <p><a href="../rmi/index.html"><img src="../images/security1_2Header.gif" alt="Trail sign 1.2" align="left" width="32" height="32" border="0" /> RMI</a>: RMI is a Java-to-Java alternative to IDL for writing client/server programs.</p>
- -->
- <p><img src="../images/security1_2Header.gif" alt="Trail sign 1.2" align="left" width="32" height="32" border="0" />
- <a class="TutorialLink" target="_top" href="../rmi/index.html">RMI</a>: RMI is a Java-to-Java alternative to IDL for writing client/server programs.</p>
- <!--
- <p><a href="../security/index.html"><img src="../images/security1_2Header.gif" alt="Trail sign 1.2" align="left" width="32" height="32" border="0" /> Security Features in Java SE</a>: When writing programs that communicate, you need to understand the security implications.</p>
- -->
- <p><img src="../images/security1_2Header.gif" alt="Trail sign 1.2" align="left" width="32" height="32" border="0" />
- <a class="TutorialLink" target="_top" href="../security/index.html">Security Features in Java SE</a>: When writing programs that communicate, you need to understand the security implications.</p>
- <!--
- <p><a href="../jdbc/index.html"><img src="../images/security1_2Header.gif" alt="Trail sign 1.2" align="left" width="32" height="32" border="0" /> JDBC Database Access</a>: This trail shows you how to access a database from Java programs.</p>
- -->
- <p><img src="../images/security1_2Header.gif" alt="Trail sign 1.2" align="left" width="32" height="32" border="0" />
- <a class="TutorialLink" target="_top" href="../jdbc/index.html">JDBC Database Access</a>: This trail shows you how to access a database from Java programs.</p>
- </div>
- <div class="NavBit">
- <a href="cookies/custom.html">« Previous</a>
- •
- <a href="./TOC.html">TOC</a>
- </div>
- </div>
- <hr class="clearfloat"/>
- <div id="Footer">
- <table width="100%" border="0" cellspacing="0" cellpadding="5" summary="">
- <tr>
- <td>
- <p class="footertext"><a name="license_info">Your use of this</a> page and all the material on pages under "The Java Tutorials" banner
- is subject to these <a href="../information/cpyr.html">legal notices</a>.
- </p>
- <p class="footertext">Copyright © 1995, 2014 Oracle and/or its affiliates. All rights reserved.</p>
- </td>
-
- <td align="right">
- <p class="footertext">Problems with the examples? Try <a target="_blank"
- href="../information/run-examples.html">Compiling and Running
- the Examples: FAQs</a>.
- </p>
- <p class="footertext">
- Complaints? Compliments? Suggestions? <a target="_blank"
- href="http://docs.oracle.com/javase/feedback.html">Give
- us your feedback</a>.
- </p>
- </td>
-
- </tr>
- </table>
-
- </div>
- <div class="PrintHeaders">
- <b>Previous page:</b> Custom CookieManager
- </div>
- <!-- Start SiteCatalyst code -->
- <script type="text/javascript" language="JavaScript" src="http://www.oracle.com/ocom/groups/systemobject/@mktg_admin/documents/systemobject/s_code_download.js"></script>
- <script type="text/javascript" language="JavaScript" src="http://www.oracle.com/ocom/groups/systemobject/@mktg_admin/documents/systemobject/s_code.js"></script>
- <noscript>
- A browser with JavaScript enabled is required for this page to operate properly.
- </noscript>
- <!-- ********** DO NOT ALTER ANYTHING BELOW THIS LINE ! *********** -->
- <!-- Below code will send the info to Omniture server -->
- <script type="text/javascript" language="javascript">var s_code=s.t();if(s_code)document.write(s_code)</script>
- <!-- End SiteCatalyst code -->
- </body>
- </html>