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

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

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

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

  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. What's causing my java.net.SocketException: Connection reset?

    Feb 25, 2009 · The Exception means that the socket was closed unexpectedly from the other side. Since you are calling a web service, this should not happen - most likely you're sending a …

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

  9. python - What does this line means?

    Mar 31, 2018 · So socket.socket means the socket name (which happens to be a function) from the socket module - the module name comes first then the function name. If we omit the …

  10. 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 structs that define the packets structure. I was wondering …

Refresh