About 944,000 results
Open links in new tab
  1. 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). …

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

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

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

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

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

  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. Python Socket Programming - Stack Overflow

    Feb 20, 2019 · I'm doing an assignment regarding socket programming in python using a client and server. I'm currently on windows 10. Before getting into the little details of the assignment, …