protocol

8 views
Skip to first unread message

coutin...@gmail.com

unread,
May 2, 2006, 12:58:47 PM5/2/06
to openpoker
I very did not understand well the specification of the protocol. If
somebody will be able to give an example to me is grateful. I have
nick "sagerbot/797789850" and password "3126070196".
How would be in this case the package to effect login of this user?

I mounted the package of this form:
33118sagerbot/797789850103126070196 and I tested with following script
in python:

import socket
import sys
HOST= sys.argv[1]
PORT=3000
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.connect((HOST, PORT))
s.send(sys.argv[2])
data = s.recv(2048)
s.close()
print 'Resposta do servidor:\n', data

Executing the following command:

python ./poker.py localhost 33118sagerbot/797789850103126070196

Somebody can say me if this is correct?

Reply all
Reply to author
Forward
0 new messages