diff options
| author | Declan Hoare <[email protected]> | 2020-04-16 22:58:21 +1000 |
|---|---|---|
| committer | Declan Hoare <[email protected]> | 2020-04-16 23:10:44 +1000 |
| commit | 7000fce72fbec34c6f4957a59d4146cc7148ee59 (patch) | |
| tree | 5affe93d68a7fbcc6cf85a4d9a3eedecc730d1f7 /server.py | |
| download | shiftgears-7000fce72fbec34c6f4957a59d4146cc7148ee59.tar.gz shiftgears-7000fce72fbec34c6f4957a59d4146cc7148ee59.tar.bz2 shiftgears-7000fce72fbec34c6f4957a59d4146cc7148ee59.zip | |
Initial Release
Diffstat (limited to 'server.py')
| -rw-r--r-- | server.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/server.py b/server.py new file mode 100644 index 0000000..1f0451a --- /dev/null +++ b/server.py @@ -0,0 +1,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() + + |
