Skip to content
Snippets Groups Projects
Commit e21710e0 authored by Benoit Favre's avatar Benoit Favre
Browse files

revert osc protocol

parent 9f2db649
No related branches found
No related tags found
No related merge requests found
......@@ -14,10 +14,12 @@ class Client:
print >>sys.stderr, 'OSC: failed to send message [%s]' % str(message)
def send_action(self, action):
self.send('/action/%s' % (action.text))
#self.send('/action/%s' % (action.text))
self.send('ACTION: %s' % (action.text))
def send_words(self, start, words):
self.send('/words/%d/%s' % (start, words))
#self.send('/words/%d/%s' % (start, words))
self.send('WORDS(%d): %s' % (action.text))
class Server:
def __init__(self, host = '127.0.0.1', port = 1234):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment