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