hc
2024-08-16 94ba65e25ce534ec0515708c9e0835242345bc7b
1
2
3
4
5
6
7
8
9
from twisted.internet import protocol, reactor, endpoints
 
 
class F(protocol.Factory):
    pass
 
 
endpoints.serverFromString(reactor, "tcp:1234").listen(F())
reactor.run()