登录
首页 » C# » C# WinForm 基于Socket的聊天室

C# WinForm 基于Socket的聊天室

于 2021-05-07 发布
0 251
下载积分: 1 下载次数: 1

代码说明:

基于Socket的聊天室 实现功能: 1、服务器和客户端的创建 2、用户状态显示、系统消息提示 3、公聊、私聊 4、界面字体颜色设置

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

发表评论

0 个回复

  • 七层架构,带SQL数据库
    七层架构,带SQL数据库
    2015-01-26下载
    积分:1
  • 教学监控 socket 通讯
    【实例简介】
    2021-08-10 00:30:54下载
    积分:1
  • 51驱动步进电机
    可正反转和调速
    2020-11-06下载
    积分:1
  • 操作SQLite数据库的类(个人封装)下载
    操作sqllittle数据库的类个人封装
    2014-10-28下载
    积分:1
  • qrcode 识别(zbar-sharp)
    条码识别 【核心代码】 usingSystem; usingSystem.Collections.Generic; usingSystem.ComponentModel; usingSystem.Data; usingSystem.Diagnostics; usingSystem.Drawing; usingSystem.Linq; usingSystem.Text; usingSystem.Windows.Forms; usingSystem.Drawing.Imaging; usingThoughtWorks.QRCode.Codec; usingThoughtWorks.QRCode.Codec.Data; usingZBar; usingZXing; usingImage = System.Drawing.Image;
    2021-08-05 00:31:11下载
    积分:1
  • C# WinFrom无失真缩小图片
    C# WinFrom无失真缩小图片
    2015-01-08下载
    积分:1
  • C# 雪花飞舞 圣诞节活动实例源码
    雪花飞舞
    2015-02-02下载
    积分:1
  • DotRas 获取ip地址 示例源码
    DotRas 获取ip地址 示例源码
    2014-03-17下载
    积分:1
  • c#FORM服务器客户端UDP通讯实例
    服务器客户端UDP广播通话 【核心代码】using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;using System.Net.Sockets;using System.Net;namespace NetServer{ public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void button2_Click(object sender, EventArgs e) { this.Close(); } private void Form1_Load(object sender, EventArgs e) { } private void button1_Click(object sender, EventArgs e) { //使用UDP协议发送数据 Socket socket = new Socket(AddressFamily.InterNetwork, SocketType.Dgram, ProtocolType.Udp); //设置端口号 IPEndPoint ieps = new IPEndPoint(IPAddress.Broadcast, 8900); socket.SetSocketOption(SocketOptionLevel.Socket, SocketOptionName.Broadcast, 1); //将发送数据转换为字节数组 byte[] bytess = System.Text.Encoding.Unicode.GetBytes(textBox1.Text); socket.SendTo(bytess, ieps); socket.Close(); } }}
    2020-05-31下载
    积分:1
  • C# 支付宝在线支付实例源码下载(即时到账接口)
    C# 支付宝在线支付实例源码下载(即时到账接口)
    2014-09-02下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载