mirror of
https://github.com/python/cpython.git
synced 2025-08-23 18:24:46 +00:00
gh-127840: pass flags and address from send_fds (GH-127841)
socket: pass flags and address from send_fds Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
This commit is contained in:
parent
b1b8962443
commit
518c95b552
3 changed files with 26 additions and 1 deletions
|
@ -563,7 +563,7 @@ if hasattr(_socket.socket, "sendmsg"):
|
|||
import array
|
||||
|
||||
return sock.sendmsg(buffers, [(_socket.SOL_SOCKET,
|
||||
_socket.SCM_RIGHTS, array.array("i", fds))])
|
||||
_socket.SCM_RIGHTS, array.array("i", fds))], flags, address)
|
||||
__all__.append("send_fds")
|
||||
|
||||
if hasattr(_socket.socket, "recvmsg"):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue