About 926,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. 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 …

  4. python - Where is the _socket file? - Stack Overflow

    May 27, 2016 · The socket.py module wraps this with some additional information that doesn't need the speed boost or access to OS-level C APIs. If you are versed in C, you can read the …

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

  6. Sending string via socket (python) - Stack Overflow

    Jan 20, 2014 · Exactly what you asked for, "something like a chat application". This IS a chat application. Your serversocket.accept() accepts a socket, delivers it into the class client() …

  7. Postman : socket hang up - Stack Overflow

    Mar 27, 2019 · For me the issue was related to the mismatch of the http versions on the client and server.. Client was assuming http v2 while server (spring boot/ tomcat) in the case was http v1

  8. c - close vs shutdown socket? - Stack Overflow

    Nov 12, 2010 · The shutdown function shuts down the connection of socket. Its argument how specifies what action to perform: 0 Stop receiving data for this socket. If further data arrives, …

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

    Jun 8, 2013 · For a slight bit more detail, if the request is configured for port 443 and the request is issued via the http module rather than the https module, then you get a socket hang up.

  10. Send message to specific client with socket.io and node.js

    Jan 10, 2011 · var room = "room_"+socket.id; socket.join(room); io.to(room).emit("eventName", data); io.to(socket.id).emit("eventName",data); I am not sure why the solution worked for me. …

Refresh