docs and TODO, remove old nickname dialog code, cleanup, remove refresh_connections timer/func, logging setLevel change, server.main use constants DEFAULT IP/PORt

This commit is contained in:
Xevion
2021-01-25 12:06:58 -06:00
parent 66d85369e1
commit 9c3bc4378a
2 changed files with 17 additions and 38 deletions

View File

@@ -2,10 +2,11 @@ import logging
import socket
import threading
import constants
from server import handler
host = '127.0.0.1'
port = 55555
host = constants.DEFAULT_IP
port = constants.DEFAULT_PORT
server = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
server.bind((host, port))