Posts

Showing posts with the label c programming

Network / Socket Programming In LINUX

Image
Network programming also known as Socket programming. Socket is mechanism used in LINUX for one process communicate with another process that is far and through network. There are 2 type of socket which is TCP socket and UDP socket. What is Socket ? It is a group of system calls for networking capability which are socket() , bind() , listen() , accept() , connect() , close() and others. Socket are one of the Inter-process communication (IPC) facility for communication between one process with another. It provides communication between process on CLIENT machine and SERVER on another machines. The 2 most prevalent communication API (Application Program Interface) for UNIX system are Berkely Sockets and System V TLI(Transport Later Interfaces) . Socket are a protocol independent method of creating a connection between process Socket can be either connection based or connection less , packet based or streams based and reliable or unreliable . Socket are characterized by ...