MOON
Server: Apache
System: Linux vps.thepromohut.com 2.6.18-398.el5 #1 SMP Tue Sep 16 20:51:48 EDT 2014 i686
User: caretrak (507)
PHP: 5.2.10
Disabled: NONE
Upload Files
File: //usr/lib/python2.4/Demo/sockets/udpecho.pyc
mò
‚=5Dc@sOdkZdkTddZdZd„Zd„Zd„Zd„ZeƒdS(	N(t*iPÃiicCsjttiƒdjotƒntiddjotƒn'tiddjotƒntƒdS(Niis-ss-c(tlentsystargvtusagetservertclient(((t*/usr/lib/python2.4/Demo/sockets/udpecho.pytmainscCs'tit_dGHdGHtidƒdS(Ns,Usage: udpecho -s [port]            (server)s,or:    udpecho -c host [port] <file (client)i(Rtstderrtstdouttexit(((RRscCsšttiƒdjottidƒ}nt}tttƒ}|i
d|fƒdGHx9|itƒ\}}d||fGH|i||ƒq]WdS(Nitsudp echo server readyisserver received %r from %r(RRRtevaltportt	ECHO_PORTtsockettAF_INETt
SOCK_DGRAMtstbindtrecvfromtBUFSIZEtdatataddrtsendto(RRRR((RRscCséttiƒdjotƒntid}ttiƒdjottidƒ}nt}||f}t	t
tƒ}|i
dƒdGHxTtiiƒ}|pPn|i||ƒ|itƒ\}}d||fGHq‘WdS(	NiiRis$udp echo client ready, reading stdinisclient received %r from %r(Ri(RRRRthostR
RRRRRRRRtstdintreadlinetlineRRRRtfromaddr(RRRRRRR((RR+s$

(RRRRRRRR(RRRRRRR((Rt?s