§
    Ètºf÷  ã                   ó  — d dl Z d dlZd dlZd dlmZ d dlmZ d dlmZ de	dee	e
f         fd„Zedk    rK e e	ej        d	         ¦  «        ¦  «        \  ZZ e j        ed
ez   dz   ¦  «          e j        e¦  «         dS dS )é    N)Úunpack)ÚTuple)ÚrecvmsgÚsocketfdÚreturnc                 ó¸   — t          j        | t           j        t           j        ¦  «        }t	          |¦  «        \  }}}|\  \  }}}t          d|¦  «        \  }||fS )az  
    Receive a file descriptor from a L{sendmsg} message on the given C{AF_UNIX}
    socket.

    @param socketfd: An C{AF_UNIX} socket, attached to another process waiting
        to send sockets via the ancillary data mechanism in L{send1msg}.

    @param fd: C{int}

    @return: a 2-tuple of (new file descriptor, description).
    @rtype: 2-tuple of (C{int}, C{bytes})
    Úi)ÚsocketÚfromfdÚAF_UNIXÚSOCK_STREAMr   r   )	r   Ú	ourSocketÚdataÚ	ancillaryÚflagsÚ	cmsgLevelÚcmsgTypeÚpackedFDÚ
unpackedFDs	            ú[/var/www/surfInsights/venv3-11/lib/python3.11/site-packages/twisted/python/test/pullpipe.pyÚrecvfdr      s]   € õ ”˜h­¬½Ô8JÑKÔK€IÝ$ YÑ/Ô/Ñ€Dˆ)�UØ(1Ñ%Ñ$€i�˜8õ ˜#˜xÑ(Ô(�L€ZØ˜ÐÐó    Ú__main__é   s   Test fixture data: s   .
)Úosr
   ÚsysÚstructr   Útypingr   Útwisted.python.sendmsgr   ÚintÚbytesr   Ú__name__ÚargvÚfdÚdescriptionÚwriteÚclose© r   r   ú<module>r)      sí   ðð
 
€	€	€	Ø €€€Ø 
€
€
€
Ø Ð Ð Ð Ð Ð Ø Ð Ð Ð Ð Ð à *Ð *Ð *Ð *Ð *Ð *ð�Sð ˜U 3¨ :Ô.ð ð ð ð ð. ˆzÒÐØ�f˜S˜S ¤¨!¤Ñ-Ô-Ñ.Ô.�O€BˆØ€B„HˆRÐ'¨+Ñ5¸Ñ>Ñ?Ô?Ð?Ø€B„HˆR�L„L€L€L€Lð Ðr   