Article Open Access Logo

APPLYING OBJECT- ORIENTED DESIGN PATTERNS IN CONSTRUCTING TCP/IP NETWORK APPLICATIONS

Tran Dan Thu 1
Huynh Thuy Bao Tran 1
Volume & Issue: Vol. 9 No. 7 (2006) | Page No.: 5-14 | DOI: 10.32508/stdj.v9i7.2922
Published: 2006-07-31

Online metrics


Statistics from the website

  • Abstract Views: 1811
  • Galley Views: 840

Statistics from Dimensions

Copyright The Author(s) 2023. This article is published with open access by Vietnam National University, Ho Chi Minh city, Vietnam. This article is distributed under the terms of the Creative Commons Attribution License (CC-BY 4.0) which permits any use, distribution, and reproduction in any medium, provided the original author(s) and the source are credited. 

Abstract

TCP/IP protocol plays an important role in constructing network applications. Network applications which use TCP/IP protocol are usually implemented 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.

Comments