| 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
| 2 | <html> |
| 3 | <head> |
| 4 | <link rel="STYLESHEET" href="lib.css" type='text/css' /> |
| 5 | <link rel="SHORTCUT ICON" href="../icons/pyfav.png" type="image/png" /> |
| 6 | <link rel='start' href='../index.html' title='Python Documentation Index' /> |
| 7 | <link rel="first" href="lib.html" title='Python Library Reference' /> |
| 8 | <link rel='contents' href='contents.html' title="Contents" /> |
| 9 | <link rel='index' href='genindex.html' title='Index' /> |
| 10 | <link rel='last' href='about.html' title='About this document...' /> |
| 11 | <link rel='help' href='about.html' title='About this document...' /> |
| 12 | <link rel="next" href="node844.html" /> |
| 13 | <link rel="prev" href="node842.html" /> |
| 14 | <link rel="parent" href="node841.html" /> |
| 15 | <link rel="next" href="node844.html" /> |
| 16 | <meta name='aesop' content='information' /> |
| 17 | <title>C.3.2 Sockets</title> |
| 18 | </head> |
| 19 | <body> |
| 20 | <DIV CLASS="navigation"> |
| 21 | <div id='top-navigation-panel' xml:id='top-navigation-panel'> |
| 22 | <table align="center" width="100%" cellpadding="0" cellspacing="2"> |
| 23 | <tr> |
| 24 | <td class='online-navigation'><a rel="prev" title="C.3.1 Mersenne Twister" |
| 25 | href="node842.html"><img src='../icons/previous.png' |
| 26 | border='0' height='32' alt='Previous Page' width='32' /></A></td> |
| 27 | <td class='online-navigation'><a rel="parent" title="C.3 Licenses and Acknowledgements" |
| 28 | href="node841.html"><img src='../icons/up.png' |
| 29 | border='0' height='32' alt='Up One Level' width='32' /></A></td> |
| 30 | <td class='online-navigation'><a rel="next" title="C.3.3 Floating point exception" |
| 31 | href="node844.html"><img src='../icons/next.png' |
| 32 | border='0' height='32' alt='Next Page' width='32' /></A></td> |
| 33 | <td align="center" width="100%">Python Library Reference</td> |
| 34 | <td class='online-navigation'><a rel="contents" title="Table of Contents" |
| 35 | href="contents.html"><img src='../icons/contents.png' |
| 36 | border='0' height='32' alt='Contents' width='32' /></A></td> |
| 37 | <td class='online-navigation'><a href="modindex.html" title="Module Index"><img src='../icons/modules.png' |
| 38 | border='0' height='32' alt='Module Index' width='32' /></a></td> |
| 39 | <td class='online-navigation'><a rel="index" title="Index" |
| 40 | href="genindex.html"><img src='../icons/index.png' |
| 41 | border='0' height='32' alt='Index' width='32' /></A></td> |
| 42 | </tr></table> |
| 43 | <div class='online-navigation'> |
| 44 | <b class="navlabel">Previous:</b> |
| 45 | <a class="sectref" rel="prev" href="node842.html">C.3.1 Mersenne Twister</A> |
| 46 | <b class="navlabel">Up:</b> |
| 47 | <a class="sectref" rel="parent" href="node841.html">C.3 Licenses and Acknowledgements</A> |
| 48 | <b class="navlabel">Next:</b> |
| 49 | <a class="sectref" rel="next" href="node844.html">C.3.3 Floating point exception</A> |
| 50 | </div> |
| 51 | <hr /></div> |
| 52 | </DIV> |
| 53 | <!--End of Navigation Panel--> |
| 54 | |
| 55 | <H2><A NAME="SECTION0027320000000000000000"> |
| 56 | C.3.2 Sockets</A> |
| 57 | </H2> |
| 58 | |
| 59 | <P> |
| 60 | The <tt class="module">socket</tt> module uses the functions, <tt class="function">getaddrinfo</tt>, |
| 61 | and <tt class="function">getnameinfo</tt>, which are coded in separate source files |
| 62 | from the WIDE Project, <a class="url" href="http://www.wide.ad.jp/about/index.html">http://www.wide.ad.jp/about/index.html</a>. |
| 63 | |
| 64 | <P> |
| 65 | <div class="verbatim"><pre> |
| 66 | Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. |
| 67 | All rights reserved. |
| 68 | |
| 69 | Redistribution and use in source and binary forms, with or without |
| 70 | modification, are permitted provided that the following conditions |
| 71 | are met: |
| 72 | 1. Redistributions of source code must retain the above copyright |
| 73 | notice, this list of conditions and the following disclaimer. |
| 74 | 2. Redistributions in binary form must reproduce the above copyright |
| 75 | notice, this list of conditions and the following disclaimer in the |
| 76 | documentation and/or other materials provided with the distribution. |
| 77 | 3. Neither the name of the project nor the names of its contributors |
| 78 | may be used to endorse or promote products derived from this software |
| 79 | without specific prior written permission. |
| 80 | |
| 81 | THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND |
| 82 | GAI_ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
| 83 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
| 84 | ARE DISCLAIMED. IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE |
| 85 | FOR GAI_ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
| 86 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS |
| 87 | OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) |
| 88 | HOWEVER CAUSED AND ON GAI_ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT |
| 89 | LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN GAI_ANY WAY |
| 90 | OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
| 91 | SUCH DAMAGE. |
| 92 | </pre></div> |
| 93 | |
| 94 | <P> |
| 95 | |
| 96 | <DIV CLASS="navigation"> |
| 97 | <div class='online-navigation'> |
| 98 | <p></p><hr /> |
| 99 | <table align="center" width="100%" cellpadding="0" cellspacing="2"> |
| 100 | <tr> |
| 101 | <td class='online-navigation'><a rel="prev" title="C.3.1 Mersenne Twister" |
| 102 | href="node842.html"><img src='../icons/previous.png' |
| 103 | border='0' height='32' alt='Previous Page' width='32' /></A></td> |
| 104 | <td class='online-navigation'><a rel="parent" title="C.3 Licenses and Acknowledgements" |
| 105 | href="node841.html"><img src='../icons/up.png' |
| 106 | border='0' height='32' alt='Up One Level' width='32' /></A></td> |
| 107 | <td class='online-navigation'><a rel="next" title="C.3.3 Floating point exception" |
| 108 | href="node844.html"><img src='../icons/next.png' |
| 109 | border='0' height='32' alt='Next Page' width='32' /></A></td> |
| 110 | <td align="center" width="100%">Python Library Reference</td> |
| 111 | <td class='online-navigation'><a rel="contents" title="Table of Contents" |
| 112 | href="contents.html"><img src='../icons/contents.png' |
| 113 | border='0' height='32' alt='Contents' width='32' /></A></td> |
| 114 | <td class='online-navigation'><a href="modindex.html" title="Module Index"><img src='../icons/modules.png' |
| 115 | border='0' height='32' alt='Module Index' width='32' /></a></td> |
| 116 | <td class='online-navigation'><a rel="index" title="Index" |
| 117 | href="genindex.html"><img src='../icons/index.png' |
| 118 | border='0' height='32' alt='Index' width='32' /></A></td> |
| 119 | </tr></table> |
| 120 | <div class='online-navigation'> |
| 121 | <b class="navlabel">Previous:</b> |
| 122 | <a class="sectref" rel="prev" href="node842.html">C.3.1 Mersenne Twister</A> |
| 123 | <b class="navlabel">Up:</b> |
| 124 | <a class="sectref" rel="parent" href="node841.html">C.3 Licenses and Acknowledgements</A> |
| 125 | <b class="navlabel">Next:</b> |
| 126 | <a class="sectref" rel="next" href="node844.html">C.3.3 Floating point exception</A> |
| 127 | </div> |
| 128 | </div> |
| 129 | <hr /> |
| 130 | <span class="release-info">Release 2.4.2, documentation updated on 28 September 2005.</span> |
| 131 | </DIV> |
| 132 | <!--End of Navigation Panel--> |
| 133 | <ADDRESS> |
| 134 | See <i><a href="about.html">About this document...</a></i> for information on suggesting changes. |
| 135 | </ADDRESS> |
| 136 | </BODY> |
| 137 | </HTML> |