Learning UNIX Network Programming Volume 1 --- the first Chapter
2009-11-06 15:44
537 查看
1.1 simplily review it.
1.2 Read a simply daytime client programe. I am very surprised why set "recvline
= 0; ". It means set the latest string is 0. This is a rule for C/C++ of char * except C++ of std::string.
how to compile this program.
commandline as follows : gcc -o daytimetcpcli.o -I../lib -lsocket -lnsl ../lib/error.o daytimetcpcli.c
complie it successfully.
1.2 Read a simply daytime client programe. I am very surprised why set "recvline
= 0; ". It means set the latest string is 0. This is a rule for C/C++ of char * except C++ of std::string.
how to compile this program.
commandline as follows : gcc -o daytimetcpcli.o -I../lib -lsocket -lnsl ../lib/error.o daytimetcpcli.c
complie it successfully.
相关文章推荐
- Unix Network Programming Volume 1 Compile issue solution for the 2nd and 3rd edition
- Advanced Programming in the UNIX® Environment: Second Edition(Chapter 3. File I/O 3.1 3.2 3.3)
- UNIX Network Programming Volume 1, 3rd, Notes
- 《The Definitive Guide to Linux Network Programming》 (《Linux 网络编程指南》) Chapter 2
- unix network programming volume 2 interprocess communications second edition环境搭建出错的处理
- learning the unix operating system chapter 1
- Head First Java_Study Notes_Chapter 6 Using the Java Library
- C++ Network Programming, Volume 2: Systematic Reuse with ACE and Frameworks
- Chapter 13. Playing God: Basic Physics Modeling (Tricks.of.the.Windows.Game.Programming.Gurus,.Second.Edition)
- Chapter 6. The PCI Layer and Network Interface Cards
- Network socket programming using the NetLib library
- Chapter 1 - Neural Network and Deep Learning
- Failing To See the Big Picture - Mistakes we make when learning programming
- 机器学习中的神经网络Neural Networks for Machine Learning:Programming Assignment 1: The perceptron learning alg
- 山外看山 —— 评The Art of Unix Programming
- The Elephant Man——Chapter 4 Merrick's First Home
- Learning NFS/NIS 2nd 读书笔记-Chapter1 Network Fundamentals
- Unix NetWork Programming(unix环境编程)——环境搭建(解决unp.h等源码编译问题)
- The first day of learning java
- Unix NetWork Programming——环境搭建(解决unp.h等源码编译问题)