| Server IP : 178.105.222.151 / Your IP : 216.73.216.218 Web Server : nginx/1.28.3 System : Linux MNK 7.0.0-15-generic #15-Ubuntu SMP PREEMPT_DYNAMIC Wed Apr 22 16:06:43 UTC 2026 x86_64 User : www-data ( 33) PHP Version : 8.5.4 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/twisted/python/__pycache__/ |
Upload File : |
+
Dfjz
� � � R t ^ RIHt ^ RIHtHtHt ^ RIHtH t . ROt
]! R. R
O4 t. ^ 3R R lltRR R llt
R R
ltR# )z/
sendmsg(2) and recvmsg(2) support for Python.
)�
namedtuple)�
CMSG_SPACE�
SCM_RIGHTS�socket)�List�Tuple�ReceivedMessagec
� � V ^8� d QhR\ R\ R\ \ \ \ \ 3, , R\ R\ /# )� r �data� ancillary�flags�return)�Socket�bytesr r �int)�formats "�8/usr/lib/python3/dist-packages/twisted/python/sendmsg.py�__annotate__r sJ � � 4� 4��4�
�4� �E�#�s�E�/�*�+�4� � 4�
�4� c �( � V P V.W#4 # )a�
Send a message on a socket.
@param socket: The socket to send the message on.
@param data: Bytes to write to the socket.
@param ancillary: Extra data to send over the socket outside of the normal
datagram or stream mechanism. By default no ancillary data is sent.
@param flags: Flags to affect how the message is sent. See the C{MSG_}
constants in the sendmsg(2) manual page. By default no flags are set.
@return: The return value of the underlying syscall, if it succeeds.
)�sendmsg)r r r r
s &&&&r r r s � �$ �>�>�4�&�)�3�3r c
�T � V ^8� d QhR\ R\ R\ R\ R\ /# )r
r �maxSize�cmsgSizer
r )r r r )r s "r r r ) s; � � H� H��H� �H�36�H�FI�H��Hr c �h � V P V\ V4 V4 R, w rEp\ WEVR7 # )a�
Receive a message on a socket.
@param socket: The socket to receive the message on.
@param maxSize: The maximum number of bytes to receive from the socket using
the datagram or stream mechanism. The default maximum is 8192.
@param cmsgSize: The maximum number of bytes to receive from the socket
outside of the normal datagram or stream mechanism. The default maximum
is 4096.
@param flags: Flags to affect how the message is sent. See the C{MSG_}
constants in the sendmsg(2) manual page. By default no flags are set.
@return: A named 3-tuple of the bytes received using the datagram/stream
mechanism, a L{list} of L{tuple}s giving ancillary received data, and
flags as an L{int} describing the data received.
:� � N�r r r
)�recvmsgr r )r r r r
r r s &&&& r r r ) s3 � �0 $�^�^�G�Z��5I�5�Q�RU�V��D�U����G�Gr c �0 � V ^8� d QhR\ R\ /# )r
r r )r r )r s "r r r F s � � � �F� �s� r c � � V P # )zY
Return the family of the given socket.
@param socket: The socket to get the family of.
)�family)r s &r �getSocketFamilyr# F s � � �=�=�r N)r r r# r r )i i r )�__doc__�collectionsr r r r r �typingr r �__all__r r r r# � r r �<module>r) sE ��
�
#� ;� ;� �
A�� �.�0N�O�� /1�� 4�*H�:r