About 65 results
Open links in new tab
  1. What exactly is Socket - Stack Overflow

    I don't know exactly what socket means. A server runs on a specific computer and has a socket that is bound to a specific port number. The server just waits, listening to the socket for a client to...

  2. What is the difference between a port and a socket?

    Sep 30, 2008 · An endpoint (socket) is defined by the combination of a network address and a port identifier. Note that address/port does not completely identify a socket (more on this later). The …

  3. networking - What is a socket? - Unix & Linux Stack Exchange

    113 A socket is a pseudo-file that represents a network connection. Once a socket has been created (identifying the other host and port), writes to that socket are turned into network packets that get …

  4. network programming - Understanding socket basics - Stack Overflow

    A socket, in C parlance, is a data structure in kernel space, corresponding to one end-point of a UDP or TCP session (I am using session very loosely when talking about UDP). It's normally associated with …

  5. Creating a basic C++ TCP socket writer - Stack Overflow

    While creating socket pass correct parameters .In above example you passed SOCK_DGRAM instead pass SOCK_STREAM. After binding server should go into listen mode (check the manual page of …

  6. difference between socket programming and Http programming

    Feb 27, 2013 · Socket programming is a kind of middleware, residing between the application layer and the TCP layer. It's able to carry anything present in the application layer; even HTTP data.

  7. What is AF_INET in socket programming? - Stack Overflow

    Jul 16, 2025 · AF_INET is an a ddress f amily that is used to designate the type of addresses that your socket can communicate with (in this case, Internet Protocol v4 addresses). When you create a …

  8. What is the difference between socket and websocket?

    The Socket.IO module available for Node.js can help a lot, but note that it is not a pure WebSocket module in its own right. It's actually a more generic communications module that can run on top of …

  9. Python handling socket.error: [Errno 104] Connection reset by peer

    Python handling socket.error: [Errno 104] Connection reset by peer Asked 12 years, 3 months ago Modified 8 months ago Viewed 441k times

  10. python - socket.shutdown vs socket.close - Stack Overflow

    sock.shutdown(socket.SHUT_RDWR) sock.close() What exactly is the purpose of calling shutdown on the socket and then closing it? If it makes a difference, this socket is being used for non-blocking IO.