shiftgears/server.py

12 lines
259 B
Python
Raw Normal View History

2020-04-16 08:58:21 -04:00
#!/usr/bin/env python3
from twisted.internet.endpoints import TCP4ServerEndpoint
from twisted.internet import reactor
from mud import MudConnectionFactory
endpoint = TCP4ServerEndpoint(reactor, 13370)
endpoint.listen(MudConnectionFactory())
reactor.run()