From: luca72 on 22 Apr 2010 02:24 On 21 Apr, 20:42, John Nagle <na...(a)animats.com> wrote: > luca72 wrote: > > Hello i have this question : > > i connect to the server in this way: > > sock = socket.socket(socket.AF_INET,socket.SOCK_STREAM) > > sock.connect(('192.168.1.11',11502)) > > rcv = sock.recv(8124) > > here i get 14 random bytes , in a string with strange chars like : > > ¬^.áâ¹â¢Ã > > aâãj > > I think because sock.recv return a string. > > Now i have to xor this 14 bytes with a key stored in file as a sting. > > Can you help me to understand how to do it. > >    Port 11502?  What are you talking to?  An eSoft Distributed > Intelligent Architecture node? Unlikely. Let me guess. A Counter-Strike > server. > >                 John Nagle i'm tolking to a cardserv in a dvb decoder with linux inside
|
Pages: 1 Prev: python 2.6 py2exe wx app fails Next: a.extend(b) better than a+=b ? |