Applying object- oriented design patterns in constructing TCP/IP network applications

  • Trần Đan Thư
  • Huỳnh Thụy Bảo Trân

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
Section
ARTILES