mirror of
https://github.com/PartialVolume/shredos.x86_64.git
synced 2026-03-01 14:02:12 +00:00
12 lines
279 B
Python
12 lines
279 B
Python
from twisted.internet import protocol, reactor, endpoints
|
|
from twisted.web.client import readBody # noqa: F401
|
|
from twisted.web import xmlrpc, server # noqa: F401
|
|
|
|
|
|
class F(protocol.Factory):
|
|
pass
|
|
|
|
|
|
endpoints.serverFromString(reactor, "tcp:1234").listen(F())
|
|
reactor.run()
|