aboutsummaryrefslogtreecommitdiff
path: root/python/client.py
blob: 53e38fda634958c098150b3ae9d39f47c23f5b51 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/python

import gats
import socket
import time

s = socket.create_connection( ('localhost', 5051) )
gats.send( {'type': 'hello'}, s )
print gats.recv( s )

time.sleep( 10 )