TCP/IP Sockets in C: Practical Guide for ProgrammersElsevier, 2002年2月13日 - 130 頁 For example code from the text, Winsock adaptations of text code, sample programming exercises and more,click on the grey "COMPANION SITE" button to the right. Note: This title was formerly known as Pocket Guide to TCP/IP Socket Programming in C, ISBN 1-55860-686-6.TCP/IP Sockets in C: Practical Guide for Programmers is a quick and affordable way to gain the knowledge and skills you need to develop sophisticated and powerful networked-based programs using sockets. Written by two experienced networking instructors, this book provides a series of examples that demonstrate basic sockets techniques for clients and servers. Using plenty of real-world examples, this book is a complete beginner's guide to socket programming and a springboard to more advanced networking topics, including multimedia protocols.*Concise, no-nonsense explanations of issues often troublesome for beginners, including message construction and parsing. *Comprehensive example-based coverage of the most important TCP/IP techniques-including iterative and concurrent servers, timeouts, and asynchronous message processing. *Includes a detailed, easy-to-use reference to the system calls and auxiliary routines that comprise the sockets interface. *A companion Web site provides source code for all example programs in both C and WinSock versions, as well as guidance on running the code on various platforms. |
其他版本 - 查看全部
常見字詞
address and port address family address structure AF_INET asynchronous I/O bind blocked broadcast buffer child process clntSock close handshake connection request datagram socket directed broadcast address echoServPort echoStringLen errno Error handling function flags fprintf(stderr getservbyname host hostent implementation include arpa/inet.h include stdio.h include sys/socket.h int main(int argc integer interface Internet address Internet protocol IP address IPPROTO_UDP lines multicast multicast address network byte order nonblocking NULL number of bytes packet parameter pointer port number port Q POSIX threads printf protocol family receiving program recv recvfrom recvMsgSize RecvQ Remote IP Remote port returns sending and receiving SendQ sendto servSock sigaction SIGALRM SIGINT SIGIO signal handler sizeof(echoServAddr sock sockaddr structure socket descriptor socket option socket structure sockets API specified stream socket struct sockaddr struct sockaddr_in TCP connection TCP echo server TCP socket TCP/IP TCPEchoClient.c page 13 TCPEchoServer.c thread ThreadArgs timeout UDP sockets UNIX unsigned int unsigned short usage example waitpid
