-
Notifications
You must be signed in to change notification settings - Fork 0
flames85/tcp_ip
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This is the source code for the skeletons, library routines, and example programs from _Effective TCP/IP Programming_. I have compiled and tested this on FreeBSD, Solaris, Linux, and Windows 98. If you compile it for a different system and have to make any non-trivial changes, I would like to know so that I can include them with the distribution. In order to compile the code, first change into the subdirectory that most closely describes your system (bsd, solaris, linux, win), and run make. For UNIX systems, this can be either the system make or gmake. For windows, use nmake. This will perform whatever initializations are appropriate for your system. Next, change back up to the parent (source) directory and run make again. That will build the libraries and test programs. Most systems will generate a few trivial warnings for the compilations of the example programs. You can ignore these. The library code compiles without diagnostics on all the systems that I have tested. The TCP/IP stack that comes with Win98 does *not* run icmp correctly. Jon Snader ########################################################################## 结合一本国内翻译的书《TCP/IP高效编程》看,效果拔群 😄 以下是自己总结的编译方法: # linux 1. cd source/linux 2. make <--- 打补丁,打完补丁后一些源文件会被改变 3. cd .. 4. make # mac 1. cd source 2. make CC=clang <--- 用mac专门编译c的编译器clang(编译c++的是clang++) # windows 1. cd source/win 2. nmake <--- 打补丁,打完补丁后一些源文件会被改变 3. cd .. 4. nmake
About
TCP_IP高效编程
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published