Introduction - If you have any usage issues, please Google them yourself
There are a lot of books of computer network, but most of them seem to be more suitable for senior programmers, and for many just want to know the methods of use of beginners, it is too deep.
By learning a book, the reader can learn about the programming of the socket. At the same time, the book USES a method called "BY example" to improve the reader's learning efficiency, and the contents of each chapter are based on the previous chapter. The first part of the basic set of interface concept in the domain and address, and set the type of the interface for connection/on the basis of the basic concepts such as the connection protocol, this paper introduces the simple writing methods for the client/server and the host name/network name query method of writing. After mastering the first part of the "basic set interface concept", the reader can begin to learn the second part of "advanced socket programming", which may be a challenge for some readers. This part introduces the set of I/O interface standards, and customer service program, set of interface options, UDP broadcasting, out-of-band data, inetd daemon, program design and network security credentials and more in-depth theme such as file descriptors; And through the last chapter of the application example, the previous introduction of many concepts are fused together.
Packet : 21840312linux_socket_programming_by_example.rar filelist
Linux_Socket_Programming_By_Example\ch.01\Makefile
Linux_Socket_Programming_By_Example\ch.01\01LST01.c
Linux_Socket_Programming_By_Example\ch.01\01LST01.o
Linux_Socket_Programming_By_Example\ch.01\01LST02.c
Linux_Socket_Programming_By_Example\ch.01\01LST02.o
Linux_Socket_Programming_By_Example\ch.01\01LST03.c
Linux_Socket_Programming_By_Example\ch.01\01LST03.o
Linux_Socket_Programming_By_Example\ch.01\01lst01
Linux_Socket_Programming_By_Example\ch.01\01lst02
Linux_Socket_Programming_By_Example\ch.01\01lst03
Linux_Socket_Programming_By_Example\ch.02\af_unix2.c
Linux_Socket_Programming_By_Example\ch.02\Makefile
Linux_Socket_Programming_By_Example\ch.02\af_ax25.c
Linux_Socket_Programming_By_Example\ch.02\af_inet.c
Linux_Socket_Programming_By_Example\ch.02\af_unix.c
Linux_Socket_Programming_By_Example\ch.02\af_x25.c
Linux_Socket_Programming_By_Example\ch.02\af_unix2
Linux_Socket_Programming_By_Example\ch.03\Makefile
Linux_Socket_Programming_By_Example\ch.03\inetntoa.c
Linux_Socket_Programming_By_Example\ch.03\netmask.c
Linux_Socket_Programming_By_Example\ch.03\network.c
Linux_Socket_Programming_By_Example\ch.03\inetaddr.c
Linux_Socket_Programming_By_Example\ch.03\makeaddr.c
Linux_Socket_Programming_By_Example\ch.03\inetaton.c
Linux_Socket_Programming_By_Example\ch.05\bind
Linux_Socket_Programming_By_Example\ch.05\Makefile
Linux_Socket_Programming_By_Example\ch.05\sckname
Linux_Socket_Programming_By_Example\ch.05\bind.c
Linux_Socket_Programming_By_Example\ch.05\bind.o
Linux_Socket_Programming_By_Example\ch.05\getpeer.c
Linux_Socket_Programming_By_Example\ch.05\getpeer.o
Linux_Socket_Programming_By_Example\ch.05\bind.c~
Linux_Socket_Programming_By_Example\ch.05\sckname.c
Linux_Socket_Programming_By_Example\ch.05\sckname.o
Linux_Socket_Programming_By_Example\ch.06\Makefile
Linux_Socket_Programming_By_Example\ch.06\dgramclnt.c
Linux_Socket_Programming_By_Example\ch.06\dgramclnt.o
Linux_Socket_Programming_By_Example\ch.06\dgramsrvr.c
Linux_Socket_Programming_By_Example\ch.06\dgramsrvr.o
Linux_Socket_Programming_By_Example\ch.06\dgramclnt
Linux_Socket_Programming_By_Example\ch.06\dgramsrvr
Linux_Socket_Programming_By_Example\ch.07\daytime
Linux_Socket_Programming_By_Example\ch.07\Makefile
Linux_Socket_Programming_By_Example\ch.07\daytime.c
Linux_Socket_Programming_By_Example\ch.07\daytime.o
Linux_Socket_Programming_By_Example\ch.07\servent.c
Linux_Socket_Programming_By_Example\ch.07\servent.o
Linux_Socket_Programming_By_Example\ch.07\servent
Linux_Socket_Programming_By_Example\ch.07\protoent.c
Linux_Socket_Programming_By_Example\ch.07\protoent.o
Linux_Socket_Programming_By_Example\ch.07\protoent
Linux_Socket_Programming_By_Example\ch.08\Makefile
Linux_Socket_Programming_By_Example\ch.08\daytime.c
Linux_Socket_Programming_By_Example\ch.08\server.c
Linux_Socket_Programming_By_Example\ch.09\Makefile
Linux_Socket_Programming_By_Example\ch.09\srvr2.c
Linux_Socket_Programming_By_Example\ch.09\lookup2.c
Linux_Socket_Programming_By_Example\ch.09\uname.c
Linux_Socket_Programming_By_Example\ch.09\gethostn.c
Linux_Socket_Programming_By_Example\ch.09\lookup.c
Linux_Socket_Programming_By_Example\ch.10\Makefile
Linux_Socket_Programming_By_Example\ch.10\rpneng.c
Linux_Socket_Programming_By_Example\ch.10\mkaddr.c
Linux_Socket_Programming_By_Example\ch.10\rpnsrv.c
Linux_Socket_Programming_By_Example\ch.11\Makefile
Linux_Socket_Programming_By_Example\ch.11\rpnsrv2
Linux_Socket_Programming_By_Example\ch.11\rpneng2.c
Linux_Socket_Programming_By_Example\ch.11\rpneng2.o
Linux_Socket_Programming_By_Example\ch.11\rpnsrv
Linux_Socket_Programming_By_Example\ch.11\rpneng.c
Linux_Socket_Programming_By_Example\ch.11\rpneng.o
Linux_Socket_Programming_By_Example\ch.11\mkaddr.c
Linux_Socket_Programming_By_Example\ch.11\mkaddr.o
Linux_Socket_Programming_By_Example\ch.11\rpnsrv.c
Linux_Socket_Programming_By_Example\ch.11\rpnsrv.o
Linux_Socket_Programming_By_Example\ch.11\rpnsrv2.c
Linux_Socket_Programming_By_Example\ch.11\rpnsrv2.o
Linux_Socket_Programming_By_Example\ch.12\Makefile
Linux_Socket_Programming_By_Example\ch.12\getsndrcv.c
Linux_Socket_Programming_By_Example\ch.12\gettype.c
Linux_Socket_Programming_By_Example\ch.12\setsndrcv.c
Linux_Socket_Programming_By_Example\ch.13\Makefile
Linux_Socket_Programming_By_Example\ch.13\mkaddr.c
Linux_Socket_Programming_By_Example\ch.13\stksrv.c
Linux_Socket_Programming_By_Example\ch.13\gquotes.c
Linux_Socket_Programming_By_Example\ch.14\Makefile
Linux_Socket_Programming_By_Example\ch.14\oobinline.c
Linux_Socket_Programming_By_Example\ch.14\bindacpt.c
Linux_Socket_Programming_By_Example\ch.14\oobrecv.c
Linux_Socket_Programming_By_Example\ch.14\oobsend.c
Linux_Socket_Programming_By_Example\ch.14\mkaddr.c
Linux_Socket_Programming_By_Example\ch.15\Makefile
Linux_Socket_Programming_By_Example\ch.15\inetdserv.c
Linux_Socket_Programming_By_Example\ch.16\Makefile
Linux_Socket_Programming_By_Example\ch.16\log.c
Linux_Socket_Programming_By_Example\ch.16\log.h
Linux_Socket_Programming_By_Example\ch.16\dgramcln2.c
Linux_Socket_Programming_By_Example\ch.16\dgramisrvr.c
Linux_Socket_Programming_By_Example\ch.16\wrapper.c
Linux_Socket_Programming_By_Example\ch.17\Makefile
Linux_Socket_Programming_By_Example\ch.17\recvcred.c
Linux_Socket_Programming_By_Example\ch.17\reqport.c
Linux_Socket_Programming_By_Example\ch.17\common.h
Linux_Socket_Programming_By_Example\ch.17\misc.c
Linux_Socket_Programming_By_Example\ch.17\sendfd.c
Linux_Socket_Programming_By_Example\ch.17\sockserv.c
Linux_Socket_Programming_By_Example\ch.17\web80.c
Linux_Socket_Programming_By_Example\ch.17\writev.c
Linux_Socket_Programming_By_Example\ch.17\recvfd.c
Linux_Socket_Programming_By_Example\ch.18\csvparse.c
Linux_Socket_Programming_By_Example\ch.18\Makefile
Linux_Socket_Programming_By_Example\ch.18\connect.c
Linux_Socket_Programming_By_Example\ch.18\qserve.c
Linux_Socket_Programming_By_Example\ch.18\tickers.rc
Linux_Socket_Programming_By_Example\ch.18\load.c
Linux_Socket_Programming_By_Example\ch.18\misc.c
Linux_Socket_Programming_By_Example\ch.18\gettick.c
Linux_Socket_Programming_By_Example\ch.18\msgf.c
Linux_Socket_Programming_By_Example\ch.18\mkaddr.c
Linux_Socket_Programming_By_Example\ch.18\mktwatch.c
Linux_Socket_Programming_By_Example\ch.18\bcast.c
Linux_Socket_Programming_By_Example\ch.18\quotes.h
Linux_Socket_Programming_By_Example\ch.01
Linux_Socket_Programming_By_Example\ch.02
Linux_Socket_Programming_By_Example\ch.03
Linux_Socket_Programming_By_Example\ch.05
Linux_Socket_Programming_By_Example\ch.06
Linux_Socket_Programming_By_Example\ch.07
Linux_Socket_Programming_By_Example\ch.08
Linux_Socket_Programming_By_Example\ch.09
Linux_Socket_Programming_By_Example\ch.10
Linux_Socket_Programming_By_Example\ch.11
Linux_Socket_Programming_By_Example\ch.12
Linux_Socket_Programming_By_Example\ch.13
Linux_Socket_Programming_By_Example\ch.14
Linux_Socket_Programming_By_Example\ch.15
Linux_Socket_Programming_By_Example\ch.16
Linux_Socket_Programming_By_Example\ch.17
Linux_Socket_Programming_By_Example\ch.18
Linux_Socket_Programming_By_Example