Mini Qt-project: udpsocket communication and tcpsocket file transmission