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

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

  2. What is the difference between a port and a socket?

    Sep 30, 2008 · A socket is a special type of file handle which is used by a process to request network services from the operating system. A socket address is the triple: {protocol, local …

  3. Socket Programming in C++ - Stack Overflow

    There is no socket API in the C++ Standard. The POSIX C API is fairly portable (the GNU libC documentation provides examples of UDP and TCP clients and servers that I usually turn to …

  4. difference between socket programming and Http programming

    Feb 27, 2013 · Socket Connection. Socket is used to transport data between systems. It simply connects two systems together, an IP address is the address of the machine over an IP based …

  5. Basic Python client socket example - Stack Overflow

    import socket clientsocket = socket.socket(socket.AF_INET, socket.SOCK_STREAM) clientsocket.connect(('localhost', 8089)) clientsocket.send('hello') First run the …

  6. Socket and file descriptors - Stack Overflow

    Nov 14, 2012 · There is no difference between a socket (descriptor) and a file descriptor(s). A socket is just a special form of a file. For example, you can use the syscalls used on file …

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

    The problem obviously was (as you figured it out) that port 36250 wasn't open on the server side at the time you tried to connect (hence connection refused).

  8. Beginner's Socket Programming in C - Stack Overflow

    Feb 24, 2012 · I m new to socket programming, is this concept correct, provided we can connect the server and client computer together perhaps via a LAN, or WAN, then server and client …

  9. Difference between socket and websocket? - Stack Overflow

    Hence if you want to use Socket.IO on the server end you must also use their client code and objects. You can't easily make raw WebSocket connections to a socket.io server as you'd …

  10. socket.io - Differences between io.to (), io.in (), and socket.to ...

    Mar 24, 2017 · The Socket.io documentation seems to specify a few ways to emit an event to all connected clients in a room. They are as follows: io.to(), as found in the first example here: …