About 514,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 · A socket consists of three things: An IP address A transport protocol A port number A port is a number between 1 and 65535 inclusive that signifies a logical gate in a …

  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. networking - What is a socket? - Unix & Linux Stack Exchange

    Jul 10, 2011 · 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 …

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

  7. c - How to use select () on sockets properly? - Stack Overflow

    Sep 22, 2015 · I'm trying to wrap my head around calling select on sockets and I can't understand what I'm doing wrong. setup_server_socket calls bind and listen and sets the socket to …

  8. Difference between socket and websocket? - Stack Overflow

    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 …

  9. Socket error: connection refused - what am I doing wrong?

    Socket error: connection refused - what am I doing wrong? Asked 12 years, 5 months ago Modified 9 years, 4 months ago Viewed 43k times

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

Refresh