About 341,000 results
Open links in new tab
  1. Socket Programming in C - GeeksforGeeks

    Apr 23, 2025 · Blocking Sockets: By default, sockets are blocking. This means that calls like accept() or recv() will wait indefinitely if there is no client connection or data. You can set the socket to non-blocking mode if needed.

  2. What is a Socket? Where does Socket fit in the Network Stack? When does write() block? Questions? Thank you!

  3. 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.

  4. Master Socket Diagrams in Network Programming - my …

    Mar 13, 2024 · Learn to master network socket diagrams with this complete guide that will help you understand and efficiently manage network communications.

  5. Socket API • API (Application Programming Interface) • Provides a standard set of functions that can be called by applications • Berkeley UNIX Sockets API • Abstraction for applications to send & receive data • Applications create sockets that “plug into” network • Applications write/read to/from sockets • Implemented in the ...

    Missing:

    • Block Diagram

    Must include:

  6. We present a tutorial on socket programming in Java. This tutorial illustrates several examples on the two types of socket APIs: connectionless datagram sockets and connection-oriented stream-mode sockets.

    Missing:

    • Block Diagram

    Must include:

  7. Socket Programming To use a socket, one needs a structure to hold address and its associated port number information. A generic socket format: (address family, address in the family) Another name for familyis domain.

  8. 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...

  9. bind(sockfd, (struct sockaddr *)&my_addr, sizeof(struct sockaddr)); listen(sockfd, BACKLOG); sin_size = sizeof(struct sockaddr_in); new_fd = accept(sockfd, (struct sockaddr *)&their_addr, &sin_size); send() and recv() - Let's talk! The two functions are for communicating over stream sockets or connected datagram sockets.

    Missing:

    • Block Diagram

    Must include:

  10. Figure2. Block diagram of TCP/IP Socket Programming [2]. 1. Socket () function creates a socket on client as well as server side. It is initial require for socket programming. It initialized the type of communication stream, family of protocol and which Protocol used. Opening of socket:

  11. Some results have been removed
Refresh