ó
    uñ:iá  ã                   ó   • S r SSKrS\4S jrg)z$Collective module related utilities.é    NÚreturnc                  óê   • [         R                   " [         R                  [         R                  5       n U R                  S5        U R	                  5       S   nSSS5        U$ ! , (       d  f       W$ = f)zÎReturns a port that's available during the function call. It doesn't prevent the
port from being used after the function returns as we can't reserve the port. The
utility makes a test more likely to pass.

)z	127.0.0.1r   é   N)ÚsocketÚAF_INETÚSOCK_STREAMÚbindÚgetsockname)ÚserverÚports     Ú]/srv/projetos/modelo_ml_acdoc/venv/lib/python3.13/site-packages/xgboost/testing/collective.pyÚget_avail_portr      sZ   € ô 
�Š”v—~‘~¤v×'9Ñ'9Ô	:¸fØ�‰Ð$Ô%Ø×!Ñ!Ó# AÑ&ˆ÷ 
;ð €K÷ 
;Ô	:ð €Kús   ´%A#Á#
A2)Ú__doc__r   Úintr   © ó    r   Ú<module>r      s   ðÙ *ã ð	˜õ 	r   