ResearchBib Share Your Research, Maximize Your Social Impacts
Sign for Notice Everyday Sign up >> Login

MULTI TASKING ? SOCKETS IN DATA TRANSMISSION

Journal: International Journal of Engineering Sciences & Research Technology (IJESRT) (Vol.4, No. 8)

Publication Date:

Authors : ; ;

Page : 710-716

Keywords : TCP; UDP; Server; Packets; Peer;

Source : Downloadexternal Find it from : Google Scholarexternal

Abstract

This Paper a new socket class which supports both TCP and UDP communication. But it provide s some advantages compared to other classes that you may find here or on some other Socket Programming papers. First of all, this class doesn't have any limitation like the need to provide a window handle to be used. This limitation is bad if all you want is a simple console application. So this library doesn't have such a limitation. It also provides threading support automatically for you, which handles the socket connection and disconnection to a peer. It also features some options not yet found in any s ocket classes that I have seen so far. It supports both client and server sockets. A server socket can be referred as to a socket that can accept many connections. And a client socket is a socket that is connected to server socket. You may still use this c lass to communicate between two applications without establishing a connection. In the latter case, you will want to create two UDP server sockets (one for each application). This class also helps reduce coding need to create chat - like applications and IPC (Inter - Process Communication) between two or more applications (processes). Reliable communication between two peers is also supported with TCP/IP with error handling. You may want to use the smart addressing operation to control the destination of the da ta being transmitted (UDP only). TCP operation of this class deals only with communication between two peers.

Last modified: 2015-08-27 17:44:10