Applying object- oriented design patterns in constructing TCP/IP network applications
Abstract
TCP/IP protocol plays an important role in constructing network applications. Network applications which use TCP/IP protocol are usually implemented in C/C++ with available function libraries. However, it is difficult to reuse source codes because of the existence of several function libraries for Unix and Windows with different programming interfaces. Besides, these programming interfaces cause clumsy, ambiguous and duplicate fragments of source codes. In this paper, we apply design patterns to develop an architecture of classes encapsulating TCP/IP protocol. These classes help developers write compatible source codes which can be reused in different environments, and create communication objects with more clear semantics.
điểm /
đánh giá
Published
2017-06-08
Issue
Section
ARTILES
Copyright belongs to VNU-HCM “Science and Technology Development” Journal. Any copy or reprinting of any form must be permitted by the Journal.