About 29,700,000 results
Open links in new tab
  1. How does recv work in socket programming? - Stack Overflow

    Feb 7, 2021 · You asked "How does recv () work?", so it may be worth briefly studying a simpler function that does essentially the same thing - read(). recv() operates in more or less the same way as the …

  2. Python Socket Programming: recv and recvfrom - Stack Overflow

    I am new to python and socket programming, and I'm confused about about usage for socket.recvfrom () and socket.recv (). I understand that people usually use recvfrom () for UDP and recv () for TCP.

  3. How to set timeout on python's socket recv method?

    Apr 27, 2010 · The typical approach is to use select () to wait until data is available or until the timeout occurs. Only call recv() when data is actually available. To be safe, we also set the socket to non …

  4. What is the Difference Between read() and recv() , and Between send ...

    Sep 3, 2019 · What is the difference between read() and recv(), and between send() and write() in socket programming in terms of performances, speed and other behaviors?

  5. When does socket.recv (recv_size) return? - Stack Overflow

    From test, I concluded that in following three cases the socket.recv(recv_size) will return. After the connection was closed. For example, the client side called socket.close() or any socket error

  6. sockets - recv () in Python - Stack Overflow

    Once .recv() returned b"" you won't receive anything from this socket. The interpretation of "the client (a human) just presses enter" depends on the client (software).

  7. Recv failure : Connection was reset git - Stack Overflow

    Jun 26, 2020 · Recv failure : Connection was reset git Asked 5 years, 5 months ago Modified 1 year, 6 months ago Viewed 33k times

  8. What do send () and recv () return when a connection is open but no ...

    Sep 3, 2019 · Is there a better way to loop on recv without relying on timeouts? What exactly are send () and recv () returning when a connection is open but not data is being transmitted by the sender or to …

  9. The behavior of send () and recv () in socket communication

    Apr 6, 2010 · The recv function will get whatever is next in the receive buffer. In the case of the client, if the socket is a datagram socket, what is next is msg1. If it is a stream socket then message …

  10. Socket Programming -- recv () is not receiving data correctly

    Jun 5, 2015 · The first paragraph of this answer is correct, but the second paragraph is completely wrong. It is not necessary to call select on a socket before calling recv a second time. If you only …