Everything is basically in place for at least live text. For some reason spawning the flowgraph is broken.

This commit is contained in:
Nick Foster
2012-07-03 07:45:34 -07:00
parent 3b533f6b35
commit 113c23b634
5 changed files with 360 additions and 86 deletions

View File

@@ -25,9 +25,9 @@ from string import split, join
from datetime import *
class modes_raw_server:
def __init__(self):
def __init__(self, port):
self._s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
self._s.bind(('', 9988))
self._s.bind(('', port))
self._s.listen(1)
self._s.setblocking(0) #nonblocking
self._conns = [] #list of active connections