About 64 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

    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. c - socket connect () vs bind () - Stack Overflow

    Nov 19, 2014 · Both connect() and bind() system calls 'associate' the socket file descriptor to an address (typically an ip/port combination). Their prototypes are like:- int connect(int sockfd, const struct soc...

  5. 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 …

  6. network programming - Understanding socket basics - Stack Overflow

    Socket is a software mechanism provided by the operating system. Like its name implies, you can think of it like an "electrical outlet" or some electrical connector, even though socket is not a physical …

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

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

    I recently saw a bit of code that looked like this (with sock being a socket object of course): sock.shutdown(socket.SHUT_RDWR) sock.close() What exactly is the purpose of calling shutdown …

  9. OpenSSL: socket: Connection refused connect:errno=111

    Dec 5, 2014 · I am trying to connect to one Linux server from a client, openssl s_client -connect <IP of Server>:443 I am getting the following error: socket: Connection refused connect:errno=111

  10. How do I remove a CLOSE_WAIT socket connection - Stack Overflow

    I have written a small program that interacts with a server on a specific port. The program works fine, but: Once the program terminated unexpectedly, and ever since that socket connection is show...