ok
Mini Shell
�
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_TTLtIPPROTO_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�|tjdtj
�}|jtjtj|�n/|tjdd�}|jtjtj|�xYtrK|jd�\}}x|dd kr.|d }qWt|�d
t|�GHq�WdS(Niitis=Is@Ii�i����ss (RR R
RRt
SOL_SOCKETtSO_REUSEADDRtbindRt inet_ptonRRR
t
INADDR_ANYRtIP_ADD_MEMBERSHIPRtIPV6_JOIN_GROUPRtrecvfromtstrR(RRRt group_bintmreqRR((s*/usr/lib64/python2.7/Demo/sockets/mcast.pyR1s t__main__(RRRRRRRRRRRt__name__(((s*/usr/lib64/python2.7/Demo/sockets/mcast.pyt<module>s
Zerion Mini Shell 1.0