PyDocs

Nav

Networking and Interprocess Communication

socket.recvfrom

socket

method of socketnot WASI
  • socket.recvfrom(bufsize[, flags])
recvfrom(buffersize[, flags]) -> (data, address info)

Like recv(buffersize, flags) but also return the sender's address info.
Changed in 3.5, 3.7
  • 3.5: If the system call is interrupted and the signal handler does not raise an exception, the method now retries the system call instead of raising an InterruptedError exception (see PEP 475 for the rationale).
  • 3.7: For multicast IPv6 address, first item of address does not contain %scope_id part anymore. In order to get full IPv6 address use getnameinfo().
0 Examples
No examples for socket/socket.recvfrom.
See Also
No see-alsos for socket/socket.recvfrom
0 Notes
No notes for socket.recvfrom