?? reference.html
字號:
<HTML><HEAD><TITLE>More References</TITLE><METANAME="GENERATOR"CONTENT="Modular DocBook HTML Stylesheet Version 1.70"><LINKREL="HOME"TITLE="Beej's Guide to Network Programming"HREF="index.html"><LINKREL="PREVIOUS"TITLE="Slightly Advanced Techniques"HREF="advanced.html"><LINKREL="NEXT"TITLE="Common Questions"HREF="faq.html"><METAHTTP-EQUIV="Content-Type"CONTENT="text/html; charset=utf-8"></HEAD><BODYCLASS="sect1"BGCOLOR="#FFFFFF"TEXT="#000000"LINK="#0000FF"VLINK="#840084"ALINK="#0000FF"><DIVCLASS="NAVHEADER"><TABLESUMMARY="Header navigation table"WIDTH="100%"BORDER="0"CELLPADDING="0"CELLSPACING="0"><TR><THCOLSPAN="3"ALIGN="center">Beej's Guide to Network Programming</TH></TR><TR><TDWIDTH="10%"ALIGN="left"VALIGN="bottom"><AHREF="advanced.html">Prev</A></TD><TDWIDTH="80%"ALIGN="center"VALIGN="bottom"></TD><TDWIDTH="10%"ALIGN="right"VALIGN="bottom"><AHREF="faq.html">Next</A></TD></TR></TABLE><HRALIGN="LEFT"WIDTH="100%"></DIV><DIVCLASS="sect1"><H1CLASS="sect1"><ANAME="reference">7. More References</A></H1><P>You've come this far, and now you're screaming for more! Whereelse can you go to learn more about all this stuff?</P><DIVCLASS="sect2"><H2CLASS="sect2"><ANAME="manpages">7.1. <BCLASS="command">man</B> Pages</A></H2><P>Try the following man pages, for starters:</P><P></P><UL><LI><P><TTCLASS="function"><AHREF="http://linux.com.hk/man/showman.cgi?manpath=/man/man3/htonl.3.inc"TARGET="_top">htonl()</A></TT></P></LI><LI><P><TTCLASS="function"><AHREF="http://linux.com.hk/man/showman.cgi?manpath=/man/man3/htons.3.inc"TARGET="_top">htons()</A></TT></P></LI><LI><P><TTCLASS="function"><AHREF="http://linux.com.hk/man/showman.cgi?manpath=/man/man3/ntohl.3.inc"TARGET="_top">ntohl()</A></TT></P></LI><LI><P><TTCLASS="function"><AHREF="http://linux.com.hk/man/showman.cgi?manpath=/man/man3/ntohs.3.inc"TARGET="_top">ntohs()</A></TT></P></LI><LI><P><TTCLASS="function"><AHREF="http://linux.com.hk/man/showman.cgi?manpath=/man/man3/inet_aton.3.inc"TARGET="_top">inet_aton()</A></TT></P></LI><LI><P><TTCLASS="function"><AHREF="http://linux.com.hk/man/showman.cgi?manpath=/man/man3/inet_addr.3.inc"TARGET="_top">inet_addr()</A></TT></P></LI><LI><P><TTCLASS="function"><AHREF="http://linux.com.hk/man/showman.cgi?manpath=/man/man3/inet_ntoa.3.inc"TARGET="_top">inet_ntoa()</A></TT></P></LI><LI><P><TTCLASS="function"><AHREF="http://linux.com.hk/man/showman.cgi?manpath=/man/man2/socket.2.inc"TARGET="_top">socket()</A></TT></P></LI><LI><P><TTCLASS="function"><AHREF="http://linux.com.hk/man/showman.cgi?manpath=/man/man7/socket.7.inc"TARGET="_top">socket options</A></TT></P></LI><LI><P><TTCLASS="function"><AHREF="http://linux.com.hk/man/showman.cgi?manpath=/man/man2/bind.2.inc"TARGET="_top">bind()</A></TT></P></LI><LI><P><TTCLASS="function"><AHREF="http://linux.com.hk/man/showman.cgi?manpath=/man/man2/connect.2.inc"TARGET="_top">connect()</A></TT></P></LI><LI><P><TTCLASS="function"><AHREF="http://linux.com.hk/man/showman.cgi?manpath=/man/man2/listen.2.inc"TARGET="_top">listen()</A></TT></P></LI><LI><P><TTCLASS="function"><AHREF="http://linux.com.hk/man/showman.cgi?manpath=/man/man2/accept.2.inc"TARGET="_top">accept()</A></TT></P></LI><LI><P><TTCLASS="function"><AHREF="http://linux.com.hk/man/showman.cgi?manpath=/man/man2/send.2.inc"TARGET="_top">send()</A></TT></P></LI><LI><P><TTCLASS="function"><AHREF="http://linux.com.hk/man/showman.cgi?manpath=/man/man2/recv.2.inc"TARGET="_top">recv()</A></TT></P></LI><LI><P><TTCLASS="function"><AHREF="http://linux.com.hk/man/showman.cgi?manpath=/man/man2/sendto.2.inc"TARGET="_top">sendto()</A></TT></P></LI><LI><P><TTCLASS="function"><AHREF="http://linux.com.hk/man/showman.cgi?manpath=/man/man2/recvfrom.2.inc"TARGET="_top">recvfrom()</A></TT></P></LI><LI><P><TTCLASS="function"><AHREF="http://linux.com.hk/man/showman.cgi?manpath=/man/man2/close.2.inc"TARGET="_top">close()</A></TT></P></LI><LI><P><TTCLASS="function"><AHREF="http://linux.com.hk/man/showman.cgi?manpath=/man/man2/shutdown.2.inc"TARGET="_top">shutdown()</A></TT></P></LI><LI><P><TTCLASS="function"><AHREF="http://linux.com.hk/man/showman.cgi?manpath=/man/man2/getpeername.2.inc"TARGET="_top">getpeername()</A></TT></P></LI><LI><P><TTCLASS="function"><AHREF="http://linux.com.hk/man/showman.cgi?manpath=/man/man2/getsockname.2.inc"TARGET="_top">getsockname()</A></TT></P></LI><LI><P><TTCLASS="function"><AHREF="http://linux.com.hk/man/showman.cgi?manpath=/man/man3/gethostbyname.3.inc"TARGET="_top">gethostbyname()</A></TT></P></LI><LI><P><TTCLASS="function"><AHREF="http://linux.com.hk/man/showman.cgi?manpath=/man/man3/gethostbyaddr.3.inc"TARGET="_top">gethostbyaddr()</A></TT></P></LI><LI><P><TTCLASS="function"><AHREF="http://linux.com.hk/man/showman.cgi?manpath=/man/man3/getprotobyname.3.inc"TARGET="_top">getprotobyname()</A></TT></P></LI><LI><P><TTCLASS="function"><AHREF="http://linux.com.hk/man/showman.cgi?manpath=/man/man2/fcntl.2.inc"TARGET="_top">fcntl()</A></TT></P></LI><LI><P><TTCLASS="function"><AHREF="http://linux.com.hk/man/showman.cgi?manpath=/man/man2/select.2.inc"TARGET="_top">select()</A></TT></P></LI><LI><P><TTCLASS="function"><AHREF="http://linux.com.hk/man/showman.cgi?manpath=/man/man3/perror.3.inc"TARGET="_top">perror()</A></TT></P></LI><LI><P><TTCLASS="function"><AHREF="http://linux.com.hk/man/showman.cgi?manpath=/man/man2/gettimeofday.2.inc"TARGET="_top">gettimeofday()</A></TT></P></LI></UL></DIV><DIVCLASS="sect2"><H2CLASS="sect2"><ANAME="books">7.2. Books</A></H2><P>For old-school actual hold-it-in-your-hand pulp paper books, trysome of the following excellent guides. Note the prominent Amazon.comlogo. What all this shameless commercialism means is that I basicallyget a kickback (Amazon.com store credit, actually) for selling thesebooks through this guide. So if you're going to order one of thesebooks anyway, why not send me a special thank you by starting your spreefrom one of the links, below.</P><P>Besides, more books for me might ultimately lead to more guidesfor you. <TTCLASS="computeroutput">;-)</TT></P><P> <AHREF="http://www.amazon.com/exec/obidos/redirect-home/beejsguides-20"TARGET="_top"> <SPANCLASS="inlinemediaobject"><IMGSRC="home-logo-130x60w.gif"ALT="In Association with Amazon.com"></IMG></SPAN></A></P><P><EM>Unix Network Programming, volumes 1-2</EM> by W.Richard Stevens. Published by Prentice Hall.ISBNs for volumes 1-2:<AHREF="http://www.amazon.com/exec/obidos/ASIN/013490012X/beejsguides-20"TARGET="_top">013490012X</A>,<AHREF="http://www.amazon.com/exec/obidos/ASIN/0130810819/beejsguides-20"TARGET="_top">0130810819</A>.</P><P><EM>Internetworking with TCP/IP, volumes I-III</EM> byDouglas E. Comer and David L. Stevens. Published by Prentice Hall.ISBNs for volumes I, II, and III:<AHREF="http://www.amazon.com/exec/obidos/ASIN/0130183806/beejsguides-20"TARGET="_top">0130183806</A>,<AHREF="http://www.amazon.com/exec/obidos/ASIN/0139738436/beejsguides-20"TARGET="_top">0139738436</A>,<AHREF="http://www.amazon.com/exec/obidos/ASIN/0138487146/beejsguides-20"TARGET="_top">0138487146</A>.</P><P><EM>TCP/IP Illustrated, volumes 1-3</EM> by W. RichardStevens and Gary R. Wright. Published by Addison Wesley.ISBNs for volumes 1, 2, and 3:<AHREF="http://www.amazon.com/exec/obidos/ASIN/0201633469/beejsguides-20"TARGET="_top">0201633469</A>,<AHREF="http://www.amazon.com/exec/obidos/ASIN/020163354X/beejsguides-20"TARGET="_top">020163354X</A>,<AHREF="http://www.amazon.com/exec/obidos/ASIN/0201634953/beejsguides-20"TARGET="_top">0201634953</A>.</P><P><EM>TCP/IP Network Administration</EM> by Craig Hunt.Published by O'Reilly & Associates, Inc.ISBN<AHREF="http://www.amazon.com/exec/obidos/ASIN/1565923227/beejsguides-20"TARGET="_top">1565923227</A>.</P><P><EM>Advanced Programming in the UNIX Environment</EM>by W. Richard Stevens. Published by Addison Wesley.ISBN<AHREF="http://www.amazon.com/exec/obidos/ASIN/0201563177/beejsguides-20"TARGET="_top">0201563177</A>.</P><P><EM>Using C on the UNIX System</EM> by David A. Curry.Published by O'Reilly & Associates, Inc. ISBN 0937175234.<EM>Out of print.</EM></P></DIV><DIVCLASS="sect2"><H2CLASS="sect2"><ANAME="webref">7.3. Web References</A></H2><P>On the web:</P><P><EM><AHREF="http://www.cs.umn.edu/~bentlema/unix/"TARGET="_top"> BSDSockets: A Quick And Dirty Primer</A></EM> (has other greatUnix system programming info, too!)</P><P><EM><AHREF="http://www.ibrado.com/sock-faq/"TARGET="_top">The UnixSocket FAQ</A></EM></P><P><EM><AHREF="http://pandonia.canberra.edu.au/ClientServer/"TARGET="_top">Client-ServerComputing</A></EM></P><P><EM><AHREF="gopher://gopher-chem.ucdavis.edu/11/Index/Internet_aw/Intro_the_Internet/intro.to.ip/"TARGET="_top"> Intro to TCP/IP</A></EM> (gopher)</P><P><EM><AHREF="http://www-iso8859-5.stack.net/pages/faqs/tcpip/tcpipfaq.html"TARGET="_top">InternetProtocol Frequently Asked Questions</A></EM></P><P><EM><AHREF="http://tangentsoft.net/wskfaq/"TARGET="_top">The WinsockFAQ</A></EM></P></DIV><DIVCLASS="sect2"><H2CLASS="sect2"><ANAME="rfcs">7.4. RFCs</A></H2><P><AHREF="http://www.rfc-editor.org/"TARGET="_top">RFCs</A>--the real dirt:</P><P><EM><AHREF="http://www.rfc-editor.org/rfc/rfc768.txt"TARGET="_top">RFC-768</A></EM>--The UserDatagram Protocol (UDP)</P><P><EM><AHREF="http://www.rfc-editor.org/rfc/rfc791.txt"TARGET="_top">RFC-791</A></EM>--The InternetProtocol (IP)</P><P><EM><AHREF="http://www.rfc-editor.org/rfc/rfc793.txt"TARGET="_top">RFC-793</A></EM>--The TransmissionControl Protocol (TCP)</P><P><EM><AHREF="http://www.rfc-editor.org/rfc/rfc854.txt"TARGET="_top">RFC-854</A></EM>--The TelnetProtocol</P><P><EM><AHREF="http://www.rfc-editor.org/rfc/rfc951.txt"TARGET="_top">RFC-951</A></EM>--The BootstrapProtocol (BOOTP)</P><P><EM><AHREF="http://www.rfc-editor.org/rfc/rfc1350.txt"TARGET="_top">RFC-1350</A></EM>--The TrivialFile Transfer Protocol (TFTP)</P></DIV></DIV><DIVCLASS="NAVFOOTER"><HRALIGN="LEFT"WIDTH="100%"><TABLESUMMARY="Footer navigation table"WIDTH="100%"BORDER="0"CELLPADDING="0"CELLSPACING="0"><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top"><AHREF="advanced.html">Prev</A></TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="index.html">Home</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top"><AHREF="faq.html">Next</A></TD></TR><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top">Slightly Advanced Techniques</TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"> </TD><TDWIDTH="33%"ALIGN="right"VALIGN="top">Common Questions</TD></TR></TABLE></DIV></BODY></HTML>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -