mirror of
https://github.com/Xevion/tcp-chat.git
synced 2025-12-06 07:16:33 -06:00
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:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user