Tuesday, June 18, 2019

Socket programming Research Paper Example | Topics and Well Written Essays - 1500 words

Socket programming - Research Paper ExampleHowever, sockets can also be used to facilitate parley on one computer being either as synchronous (blocking) or an asynchronous (non-blocking) socket (Luo etal., 2009). The difference between the two is that the blocking socket ensures socket operation to be completed before the program resumes the next execution. On the other hand, non-blocking socket usually allow the application to be responsive to other eventsThe development of socket programming has achieved guiding light success over the years. It all started with the development of a stop version of UNIX operating system in the year 1978, the BSD UNIX by Bill Joy. The second free version of BSD was released some months later which become the internet backbone due to its open source concept. On this front, it was notable in facilitating the development of TCP/IP with UNIX as the research platform (Parziale etal., 2009). This breakthrough into spearheading internet research using UN IX operating system made Bill Joy to be regarded as the Edison of the cyberspace. The socket interface development was initially conducted on BSD UNIX after which it was later incorporated into other operating system to simplify porting applications (Mansfield & Antonakos, 2010).Stream socket (SOCK_STREAM) mainly involved in connecter-oriented data transmission where the data is usually considered as a stream of bytes. Uses the bind (), listen (), accept (), and connect function to establish connectivity and develops flow concur to ensure there is no data overruns. To effect communication successfully, a stream socket requires that the two parties involved in the communication process to establish the connection first before initiating the dialog process. The client program requests for connection after which the server program determines the suitable socket connection. The data being transmitted is bound to acquire following its sending order without any duplication or errors.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.