About 125,000 results
Open links in new tab
  1. Socket in Computer Network - GeeksforGeeks

    Dec 28, 2024 · A socket is one endpoint of a two way communication link between two programs running on the network. The socket mechanism provides a means of inter-process communication (IPC) by establishing named contact points between which the communication take place.

  2. Socket Programming in C - GeeksforGeeks

    Apr 23, 2025 · Socket programming in C is a powerful way to handle network communication. The server is created using the following steps: 1. Socket Creation. This step involves the creation of the socket using the socket () function. Parameters: domain: …

  3. Each client sends a single datagram and receives a single datagram. If a client wants to send two datagrams, it is considered as two clients for the server. The C language defines a socket as a structure. Cont... Family: defines the protocol family (PF). The common values are PF_INET (for current Internet), Cont...

  4. TCP Server-Client implementation in C - GeeksforGeeks

    Jan 10, 2025 · This article describes a Client and Server setup where a Client connects, sends a string to server and the server shows the original string and sends reversed string to client using socket connection.

  5. Socket creation in C: socket() int sockid = socket(family, type, protocol); sockid: socket descriptor, an integer (like a file-handle) family: integer, communication domain, e.g., PF_INET, IPv4 protocols, Internet addresses (typically used) PF_UNIX, Local communication, File addresses type: communication type

  6. Sockets and Network Programming in C - codequoi

    Oct 1, 2023 · Sockets are the pillars of network programming. Let's discover how to establish a connection and transmit data between server and clients.

  7. Network Programming: elementary socket system calls - Blogger

    To do network I/O, the first thing a process must do is to call the socket system call, specifying the type of communication protocol desired. #include <sys/types.h> #include <sys/socket.h> int socket(int family , int type , int protocol );

  8. Socket Programming: Socket Address: A socket is one endpoint of a two-way communication link between two programs running on the network. A socket is bound to a port number so that the TCP layer can identify the application that data is destined to be sent to. An endpoint is a combination of an IP address and a port number.

  9. Socket Programming in Computer Network - Scaler Blog - Scaler …

    Sep 11, 2024 · Socket programming tells us how we can use socket API for creating communication between local and remote processes. The socket is created by the combination of the IP address and port number of the software.

  10. What is socket programming in C? - Scaler Topics

    Nov 11, 2022 · In socket programming in C, a socket can be created by the socket() function with syntax, The domain represents the address family over which the communication will be performed. The domain is pre-fixed values present in the sys/socket.h header.

Refresh