The Community for Technology Leaders
Circuits, Communications and Systems, Pacific-Asia Conference on (2009)
Chengdu, China
May 16, 2009 to May 17, 2009
ISBN: 978-0-7695-3614-9
pp: 775-777
ABSTRACT
This paper introduces the application of the client/server(C/S) mode, the concept and the programming principle of the socket based on C/S. The method of software design for the communication between the client, server-process using the socket mechanism is mainly analyzed, and gives examples of connection-oriented service program. The transmission layer can provide connection oriented to use TCP protocol, connectionless-oriented to use UDP protocol. There are two different kinds of services with different kinds of sockets. Only by understanding the characters of TCP protocol and UDP protocol, the service provided by the two protocols for application, can we know what deal with in these protocols, what need to deal with in application, can we easier compile vigorously and healthily, highly efficient client service program.
INDEX TERMS
C/S, socket, communication, TCP, UDP
CITATION
Changjun Zhu, Ming Xue, "The Socket Programming and Software Design for Communication Based on Client/Server", Circuits, Communications and Systems, Pacific-Asia Conference on, vol. 00, no. , pp. 775-777, 2009, doi:10.1109/PACCS.2009.89
90 ms
(Ver 3.3 (11022016))