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

    Apr 26, 2013 · 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 …

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

  3. Basic Python client socket example - Stack Overflow

    Here is the simplest python socket example. Server side: import socket serversocket = socket.socket(socket.AF_INET, socket.SOCK_STREAM) serversocket.bind(('localhost', 8089)) …

  4. Socket Programming in C++ - Stack Overflow

    Can anybody provide me some sample example on Client and server connection using sockets in C++. I have gone through some tutorials now i want to implement it. How to start ?

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

    Jan 3, 2009 · Most socket libraries, however, are so used to programmers neglecting to use this piece of etiquette that normally a close is the same as shutdown(); close(). So in most …

  6. What does "connection reset by peer" mean? - Stack Overflow

    Sep 16, 2009 · It's fatal. The remote server has sent you a RST packet, which indicates an immediate dropping of the connection, rather than the usual handshake. This bypasses the …

  7. How to check if socket is still connected - Stack Overflow

    Dec 29, 2017 · I've had good results with this variant to check if a socket is closed (negate the result if you want to check if it's still connected): import logging import socket logger = …

  8. Python socket.error: [Errno 111] Connection refused

    Python socket.error: [Errno 111] Connection refused Asked 12 years, 11 months ago Modified 3 years, 7 months ago Viewed 467k times

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

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

  10. What's causing my java.net.SocketException: Connection reset?

    Feb 25, 2009 · (Continuation) Even HTTPClient doesn't set a default timeout on the created sockets. On the other hand, the server side all sockets must timeout after a few minutes or the …