I am getting an invalid syntax error for this:
from GameLogic import *
from socket import *
cont = GameLogic.getCurrentController()
own = cont.owner
own["Connect"] = 120
if own["OneTime"] == 0:
ServerIP = GameLogic.IP
ServerPort = 10000
Clientname = ''
ClientPort = 10001
GameLogic.sStart = socket(AF_INET,SOCK_DGRAM)
GameLogic.sStart.bind((Clientname,ClientPort))
#The one under is the invalid syntax line...
GameLogic.host = (ServerIP,ServerPort)
GameLogic.sStart.setblocking(0)
own["OneTime"] = 1