3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-12-25 12:12:53 +01:00
PyLink/protocols/stub.py
2015-03-19 12:55:18 -07:00

6 lines
279 B
Python

def connect(name, networkdata):
print('%s: Using PyLink stub/testing protocol.' % name)
print('Send password: %s' % networkdata['sendpass'])
print('Receive password: %s' % networkdata['recvpass'])
print('Server: %s:%s' % (networkdata['ip'], networkdata['port']))