登录
首页 » 套接字网络编程 » c#socket 聊天

c#socket 聊天

于 2022-12-25 发布 文件大小:87.77 kB
0 214
下载积分: 2 下载次数: 1

代码说明:

本程序通过运用socket实现了聊天功能。本程序分为服务器端和客户端。服务器端创建一个socket对象,该对象的listen方法用来监听客户端的连接请求。连接好后 ,创建一个新的socket 用来与客户端进行交互。相应地,客户端建立一个socket,该对象的connect方法与服务器进行连接建立。建立好后开始交互。

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 基于Qt的局域聊天系统
    应用背景基于Qt的局域网聊天系统,实现了局域网聊天,文件传输,更改字体,保存聊天记录等功能,对于研究Qt,研究局域网通信具有较强学习价值。关键技术udpSocket = new QUdpSocket(this); port = 45454; udpSocket->bind(port, QUdpSocket::ShareAddress | QUdpSocket::ReuseAddressHint); connect(udpSocket, SIGNAL(readyRead()), this, SLOT(processPendingDatagrams())); sendMessage(NewParticipant); server = new TcpServer(this); connect(server, SIGNAL(sendFileName(QString)), this, SLOT(getFileName(QString))); connect(ui->messageTextEdit, SIGNAL(currentCharFormatChanged(QTextCharFormat)), this, SLOT(currentFormatChanged(const QTextCharFormat)));
    2022-01-25 20:19:41下载
    积分:1
  • 一个经典的在线辑器,谢谢支持!以后继续努力!
    一个经典的在线编辑器,谢谢支持!以后继续努力!-a classic online editor, I would like to thank support! After continued efforts!
    2022-01-26 15:19:02下载
    积分:1
  • 客户端服务器聊天
    在这一项目表示简单的 java 客户端服务器聊天,用简单的自我写协议。 也使用 MVC 模式。
    2022-02-14 02:31:34下载
    积分:1
  • 简单的ftp客户端下载序,我用了一下,还不错。
    简单的ftp客户端下载程序,我用了一下,还不错。-simple ftp client download, I used a bit, quite good.
    2022-02-25 06:59:40下载
    积分:1
  • 支持局域对战的飞行棋
    支持局域网对战的飞行棋-To support the LAN flight chess battle
    2022-08-16 17:06:27下载
    积分:1
  • java Net,聊天及多线实例源代码
    java Net,聊天及多线程实例源代码-java Net, chatting and multithreading example source code
    2023-01-27 12:15:03下载
    积分:1
  • 多线 TCI_IP 侦听器
    多线程 TCI_IP 侦听器-multithreading TCI_IP interception device
    2022-03-21 05:07:08下载
    积分:1
  • c# vs2005 (asp.net2.0) under the control of a date, from web
    c# vs2005(asp.net2.0) 下的一个日期控件,来自网上的脚本,对其作了更改,修改了些错误,目前已经在项目中使用,感觉不错-c# vs2005 (asp.net2.0) under the control of a date, from web-based script, which was to change, modify some errors, has been used in the project, I feel good
    2022-03-02 15:21:30下载
    积分:1
  • 运动模拟
    VB.NET - Advanced .NET Framework (Networking) - Use Sockets-VB.NET- Advanced .NET Framework (Networking)- Use Sockets
    2022-03-31 08:01:47下载
    积分:1
  • WiMAX, or the IEEE 802.16 standard for broadband wireless access, is increasingl...
    WiMAX, or the IEEE 802.16 standard for broadband wireless access, is increasingly gaining in popularity as a technology with significant market potential. This paper first provides an overview of the existing and developing 802.16 standards and their key differences/applications. The PHY and MAC layers of a typical WiMAX base station are then described. The associated implementation challenges faced by WiMAX infrastructure developers, including performance/cost/flexibility trade-offs in the choice of silicon, are clearly outlined. The paper then describes how FPGA-based system implementation can address these challenges including the “accelerated time-to-market” requirement which is considered a key enabler for early success in this market. As an example design, the physical layer implementation of the 802.16d standard with Altera FPGAs and intellectual property (IP) is proposed.
    2023-04-25 10:35:04下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载