def CheckIfPCIsValid (pcip) : sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) When i move the mouse to "sock" it says "cannot determine type". I purchased a pro version of the WingIDe, i am surprised something like this didnt work . Is there anything i can do to tweak this? Marcus