环境:
主机:win10
开发环境:Qt
功能:
用TCP进行收发通信
界面:
源代码:
在TCPsocket.pro文件中
#-------------------------------------------------
#
# Project created by QtCreator 2018-03-21T13:40:24
#
#-------------------------------------------------
QT += core gui
QT += network
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = TCPsocket
TEMPLATE = app
# The following define makes your compiler emit warnings if you use
# any feature of Qt which as