1 Star 0 Fork 47

tianyayouge/SocketTool

forked from c./SocketTool 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
updsocketoperatewidget.h 769 Bytes
一键复制 编辑 原始数据 按行查看 历史
K' 提交于 2015-09-22 09:51 . 添加:
#ifndef UPDSOCKETOPERATEWIDGET_H
#define UPDSOCKETOPERATEWIDGET_H
#include <QWidget>
#include "stdafx.h"
namespace Ui {
class UpdSocketOperateWidget;
}
class UpdSocketOperateWidget : public QWidget
{
Q_OBJECT
public:
explicit UpdSocketOperateWidget(QWidget *parent = 0);
~UpdSocketOperateWidget();
void setUdpSocket(QUdpSocket* s);
void setMulticastSocket(QUdpSocket* s, const QString &multicastAddress);
public slots:
void socketError(QAbstractSocket::SocketError);
void soketReadyRead();
void on_pushButtonSend_clicked();
private:
Ui::UpdSocketOperateWidget *ui;
QUdpSocket* m_socket;
bool m_isMulticast;
QHostAddress m_multicastAddress;
};
#endif // UPDSOCKETOPERATEWIDGET_H
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/tianyayouge/SocketTool.git
git@gitee.com:tianyayouge/SocketTool.git
tianyayouge
SocketTool
SocketTool
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385