This commit is contained in:
2022-08-11 12:27:25 +08:00
parent 00176f9919
commit 8f6bee1346
19 changed files with 636 additions and 75 deletions

View File

@@ -0,0 +1,20 @@
#ifndef GETIPSERVER_H
#define GETIPSERVER_H
#include <mainwindow.h>
#include <QTcpServer>
#include <QLabel>
class GetIPServer : public QMainWindow
{
public:
GetIPServer(QLabel *localIp);
void ConnectClient();
private:
bool lock;
QTcpServer *tcp;
QTcpSocket *tcpSocket;
};
#endif // GETIPSERVER_H