%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /proc/thread-self/root/lib64/python2.7/Demo/sockets/
Upload File :
Create Path :
Current File : //proc/thread-self/root/lib64/python2.7/Demo/sockets/mcast.pyc

�
Afc@s}dZdZdZdZddlZddlZddlZddlZd�Zd�Z	d�Z
ed	krye�ndS(
i�s225.0.0.250s'ff15:7079:7468:6f6e:6465:6d6f:6d63:6173ii����NcCsMdtjdkrtnt}dtjdkr?t|�n
t|�dS(Ns-6is-s(tsystargvt	MYGROUP_6t	MYGROUP_4tsendertreceiver(tgroup((s*/usr/lib64/python2.7/Demo/sockets/mcast.pytmains
cCs�tj|d�d}tj|dtj�}tjdt�}|dtjkrp|jtj	tj
|�n|jtjtj|�xKt
r�ttj��}|j|d|ddtf�tjd�q�WdS(Nis@isii(tsockettgetaddrinfotNonet
SOCK_DGRAMtstructtpacktMYTTLtAF_INETt
setsockoptt
IPPROTO_IPtIP_MULTICAST_TTLtIPPROTO_IPV6tIPV6_MULTICAST_HOPStTruetreprttimetsendtotMYPORTtsleep(Rtaddrinfotstttl_bintdata((s*/usr/lib64/python2.7/Demo/sockets/mcast.pyRs	"cCsPtj|d�d}tj|dtj�}|jtjtjd�|jdtf�tj	|d|dd�}|dtj
kr�|tjdtj
�}|jtjtj|�n/|tjdd�}|jtjtj|�xYtrK|jd�\}}x|dd	kr.|d }qWt|�d
t|�GHq�WdS(Niitis=Is@Ii�i����ss  (RR	R
RRt
SOL_SOCKETtSO_REUSEADDRtbindRt	inet_ptonRRR
t
INADDR_ANYRtIP_ADD_MEMBERSHIPRtIPV6_JOIN_GROUPRtrecvfromtstrR(RRRt	group_bintmreqRR((s*/usr/lib64/python2.7/Demo/sockets/mcast.pyR1s	t__main__(RRRRRRRRRRRt__name__(((s*/usr/lib64/python2.7/Demo/sockets/mcast.pyt<module>s				

Zerion Mini Shell 1.0