Restore TCP4 and TCP6 server endpoints
This commit is contained in:
parent
8e1f40341c
commit
00799faf1c
@ -31,8 +31,7 @@ if __name__ == '__main__':
|
|||||||
args.disable_chat,
|
args.disable_chat,
|
||||||
args.max_chat_message_length,
|
args.max_chat_message_length,
|
||||||
args.max_username_length,
|
args.max_username_length,
|
||||||
args.stats_db_file,
|
args.stats_db_file
|
||||||
args.tls
|
|
||||||
)
|
)
|
||||||
endpoint4 = TCP4ServerEndpoint(reactor, int(args.port))
|
endpoint4 = TCP4ServerEndpoint(reactor, int(args.port))
|
||||||
endpoint4.listen(factory)
|
endpoint4.listen(factory)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user