|
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17 System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64 User : nobody ( 99) PHP Version : 5.2.17 Disable Function : NONE Directory : /proc/22697/root/usr/lib/python2.4/test/ |
Upload File : |
mò
‚=5Dc @ sˆ d k Z d k Z d k Z d k Z d k Z d k Z d Z d Z d e i f d „ ƒ YZ d e i
f d „ ƒ YZ d „ Z e ƒ d S( Ns 127.0.0.1i1Ô t echo_serverc B s t Z d „ Z RS( Nc C sã t i t i t i ƒ } | i t i t i d ƒ | i t t f ƒ | i
d ƒ | i ƒ \ } } d } x7 d | j o) | i d ƒ } | p Pn | | } ql Wx% | o | i | ƒ } | | } q¦ W| i ƒ | i ƒ d S( Ni t s
i
( t sockett AF_INETt SOCK_STREAMt sockt
setsockoptt
SOL_SOCKETt SO_REUSEADDRt bindt HOSTt PORTt listent acceptt connt clientt buffert recvt datat sendt nt close( t selfR R R R R R ( ( t( /usr/lib/python2.4/test/test_asynchat.pyt run s$
( t __name__t
__module__R ( ( ( R R s t echo_clientc B s, t Z d „ Z d „ Z d „ Z d „ Z RS( Nc C sS t i i | ƒ | i t i t i ƒ | i t t
f ƒ | i d ƒ d | _ d S( Ns
R (
t asynchatt
async_chatt __init__R t
create_socketR R R t connectR
R t set_terminatorR ( R ( ( R R s
c C s d GHd S( Nt Connected( ( R ( ( R t handle_connect&