ABSTRACT

Communications is a critical aspect in most of systems, and location-based information systems are not the exception. Applications need to send queries and receive responses in real-time, update data, interact with other machines and databases, etc. Today's applications are networked applications; they send and receive data over wired and wireless networks. The Transport Control Protocol (TCP) is the transport layer protocol of choice for data-oriented transactions in which the reliability of the data are more important than the delay within which the data need to be received. TCP has embedded mechanisms to guarantee the reception of the segments as well as flow and congestion control mechanisms. The constructor of the class creates the new ServerSocket and assigns the communication port defined in the parameter. The User Datagram Protocol is the transport layer protocol of choice for real-time applications such as voice and video-based applications in which the timeliness is more important than the reliability of the data.