
    |;i                    @    d Z ddlmZ ddlZddlZ G d d      ZddZy)a  Multicast DNS Service Discovery for Python, v0.14-wmcbrine
Copyright 2003 Paul Scott-Murphy, 2014 William McBrine

This module provides a framework for the use of DNS Service Discovery
using IP multicast.

This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
USA
    )annotationsNc                  4    e Zd ZdZdZ	 	 	 	 	 	 	 	 	 	 	 	 ddZy)_WrappedTransportzA wrapper for transports.)filenois_ipv6sock	sock_name	transportc                J    || _         || _        || _        || _        || _        y)zcInitialize the wrapped transport.

        These attributes are used when sending packets.
        Nr
   r   r   r   r	   )selfr
   r   r   r   r	   s         F/home/ubuntu/myenv/lib/python3.12/site-packages/zeroconf/_transport.py__init__z_WrappedTransport.__init__(   s'     #	"    N)r
   asyncio.DatagramTransportr   boolr   zsocket.socketr   intr	   tuplereturnNone)__name__
__module____qualname____doc__	__slots__r    r   r   r   r      sK    #I#,# # 	#
 # # 
#r   r   c                    | j                  d      }t        | |j                  t        j                  k(  ||j                         |j                               S )zMake a wrapped transport.socketr   )get_extra_infor   familyr   AF_INET6r   getsockname)r
   r   s     r   make_wrapped_transportr#   ;   sJ    #228<Dv.{{}""$ r   )r
   r   r   r   )r   
__future__r   asyncior   r   r#   r   r   r   <module>r&      s$   , #  # #<	r   