aboutsummaryrefslogtreecommitdiff
path: root/server.py
blob: 1f0451a89245180dca3edf1fafe1ef6ca2404292 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#!/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()