def connectToServer(self):
    'Connect to the Server. Start a new RTSP/TCP session.'
    self.rtspSocket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
    try:
        self.rtspSocket.connect((self.serverAddr, self.serverPort))
    except:
        messagebox.showwarning('Connection Failed', ("Connection to '%s' failed." % self.serverAddr))
Connect to the Server. Start a new RTSP/TCP session.
def connectToServer(self):
    
    self.rtspSocket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
    try:
        self.rtspSocket.connect((self.serverAddr, self.serverPort))
    except:
        messagebox.showwarning('Connection Failed', ("Connection to '%s' failed." % self.serverAddr))