About 957,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. How Do I Use Raw Socket in Python? - Stack Overflow

    Jul 13, 2009 · From what I gathered, Raw Socket usage in Python is nearly identical in semantics to UNIX's raw socket, but without the struct s that define the packets structure. I was …

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

  5. python - What does this line means? s=socket.socket …

    Mar 31, 2018 · 2 You have imported the socket module, so everything from that module that you use will have " socket. " in front of it. So socket.socket() means run the socket() function from …

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

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

  8. NodeJS - What does "socket hang up" actually mean?

    Jun 8, 2013 · It means that socket does not send connection end event within the timeout period. If you are getting the request for cheerio via http.request (not http.get). You have to call …

  9. How to establish socket connection using the command line

    Dec 3, 2013 · How can I establish my socket connection using the Windows command line? For example, my socket IP and port num is 192.168.1.180:9760 I just want to send commands to …

  10. Socket.io: How to correctly join and leave rooms - Stack Overflow

    I'm trying to learn Socket.io by building a set of dynamically created chatrooms that emit 'connected' and 'disconnected' messages when users enter and leave. After looking at a …