📄 samples.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"><html lang="en"><head><title>Winsock Programmer's FAQ: Sample Programs</title><link rel="Stylesheet" type="text/css" href="../faq.css"></head><body bgcolor="#ffffee" text="#000000" link="#491e00" vlink="#7d2e01" alink="#da7417"><!-- ---- Header Bar ---- --><table border="0" width="95%" bgcolor="#006000" cellpadding="5" cellspacing="3" align="center"> <tr> <td align="left" bgcolor="#e0e0c0"> <font size="2" face=Verdana,Arial,Helvetica> <b><a href="../resources/libraries.html"><<</a></b> </font> </td> <td align="center"> <font face=Verdana,Arial,Helvetica color="#ffffee"> <p align=center class=bigger3><b> Winsock Programmer's FAQ<br> Section 5.2: Sample Programs<br> </b></p> </font> </td> <td align="right" bgcolor="#e0e0c0"> <font size="2" face=Verdana,Arial,Helvetica> <b><a href="../resources/web-pages.html">>></a></b> </font> </td> </tr></table><!-- ---- Body Table ---- --><table width="95%" border="0" cellpadding="10"> <tr valign="top"> <td><ul><li>The examples from this FAQ have been <ahref="../examples/index.html">collected and indexed here</a>. These showbasic Winsock tasks, including how to compile basic Winsock programs. Thecode encapsulates a number of useful techniques, such as dealing with thecomplex Winsock structures (all those conversions!) and proper orderingof calls.<li>The samples from the highly-respected book <i><ahref="../reviews/wsnp.html">Windows Sockets Network Programming</a></i>are <a href="http://www.sockets.com/sample.htm">available onlinehere</a>.<li>Stardust Technologies has made a <ahref="http://www.stardust.com/wsresource/winsock1/ws1code.html">simple"chat" program</a> available.<li>The Vijay Mukhi Computer Institute offers <ahref="http://www.vijaymukhi.com/vmis/wsock.htm">a Winsocktutorial</a>. The English is a little broken, and the code uses variableslike "k" and functions called "abc," but what the heck, it's free.<li>Jim Frost's <ahref="http://world.std.com/~jimf/papers/sockets/winsock.html">"WindowsSockets: A Quick And Dirty Primer"</a> is a short introduction toprogramming Winsock. It doesn't provide enough information to let youbuild "real" programs, but it isn't 500 pages of dry technical material,either.<li>Wayne Hoxsie has made available a <ahref="http://home.hoxnet.com/winsock_thread.c">skeleton Winsock program</a>that uses BSD-style blocking sockets and threads.<li>Lewis Napper has made available the <ahref="http://www.sockaddr.com/ExampleSourceCode.html">source code</a> fromhis fine book, <i><a href="../reviews/ws20.html">WinSock 2.0</a></i>.<li>Donald C. Asonye has a collection of <ahref="ftp://ftp.hpc.uh.edu/pub/donald/win32/">small Winsock programs</a>online. They include a full-featured pinger, a "finger" client and asmall FTP client.<li>An <a href="http://www.jgaa.com/files/wsftp32.zip">earlier versionof WS_FTP</a> is available with complete source code. The code is saidto be quite synchronous, and you'll have to extract the FTP code fromthe UI code, but it may prove useful to you.<li>Dave Cole has made a fairly-complete <ahref="http://term1.dccs.com.au/~dave/dtelnet.html">telnet program</a>available for free. Be careful about the license, though: it's GPL'd,so you can't include any of dtelnet's code in your own program withoutmaking your program free as well.<li>Spencer Low has a page that focuses on <ahref="http://www.lowtek.com/sockets/">programming Unixsockets</a>. There's a section of it that is useful to Winsockprogrammers: the Sample Source code.</ul> </td> </tr></table><!-- ---- Document Footer ---- --><hr noshade size=1 color=#404040><table cellpadding=5 cellspacing=0 border=0 width=95% align=center> <tr> <td align=left> <a href="../resources/libraries.html"><< Winsock Libraries</a> </td> <td align=right> <a href="../resources/web-pages.html">Other Useful Web Pages >></a> </td> </tr> <tr> <td align=left> <i>Last modified on 29 April 2000 at 15:52 UTC-7</i> </td> <td align=right> <font size=-1>Please send corrections to <a href="mailto:tangent@cyberport.com">tangent@cyberport.com</a>.</font> </td> </tr> </table> <table cellpadding=5 cellspacing=0 border=0 width=95% align=center> <tr> <td align=left width=33%> <font size=-1> <a href="../index.html"><b><</b> Go to the main FAQ page</a> </font> </td> <td width=33%> <font size=-1> <center> <a href="http://www.cyberport.com/~tangent/programming"><b><<</b> Go to my Programming pages</a> </center> </font> </td> <td align=right width=33%> <font size=-1> <a href="http://www.cyberport.com/~tangent/"><b><<<</b> Go to my Home Page</a> </font> </td> </tr> </table> </body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -