ó Afc@sEddlZddlZddlTdZd„Zd„ZeƒdS(i’’’’N(t*iOcCsttttƒ}|j|tfƒ|j|dƒx-|jdƒ}|sOPntjj |ƒq6Wtjj ƒdS(Ns i( tsockettAF_INETt SOCK_STREAMtconnectt FINGER_PORTtsendtrecvtsyststdouttwritetflush(thosttargststbuf((s+/usr/lib64/python2.7/Demo/sockets/finger.pytfingerscCsād}d}xO|ttjƒkr]tj|d dkr]|tj|d}|d}qWtj|}|s}dg}nx^|D]V}d|krĆtj|dƒ}||d}|| }nd}t|||ƒq„WdS(Ntit-t t@(tlenRtargvtstringtindexR(toptionstiR targtatR ((s+/usr/lib64/python2.7/Demo/sockets/finger.pytmain%s/     (RRRRRR(((s+/usr/lib64/python2.7/Demo/sockets/finger.pyt s