资源简介

SOCKET编程实例

资源截图

代码片段和文件信息

using System;
using System.Collections;
using System.Collections.Specialized;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Net.Sockets;//++++
using System.Windows.Forms;
using System.Threading;//++++
using System.Runtime.Serialization;//++++
using System.Runtime.InteropServices;//++++
using System.IO;
using System.Runtime.Serialization.Formatters.Binary;//++++
using System.Media;//+++++

namespace EasyChat
{
    public partial class chat_frm : Form
    {

        #region 私有字段

        /// 
        /// 当前用户名
        /// 

        private string _username = null;

        /// 
        /// 数据缓冲区大小
        /// 

        private int _maxPacket = 2048;//2K的缓冲区

        //

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件     183663  2008-11-17 22:56  C#.Net网络程序开发-Socket篇.pdf

     文件      10134  2007-06-12 16:45  复件 EasyChat_Client\AquaOS.ico

     文件      10134  2007-06-12 16:45  复件 EasyChat_Client\Backup\AquaOS.ico

     文件      16920  2007-06-18 23:02  复件 EasyChat_Client\Backup\chat_frm.cs

     文件      15878  2007-06-16 20:03  复件 EasyChat_Client\Backup\chat_frm.Designer.cs

     文件      25791  2007-06-16 20:03  复件 EasyChat_Client\Backup\chat_frm.resx

     文件       4193  2007-06-18 22:58  复件 EasyChat_Client\Backup\EasyChat_Client.csproj

     文件        555  2007-06-10 13:51  复件 EasyChat_Client\Backup\EasyChat_Client.csproj.user

     文件        918  2007-06-17 20:55  复件 EasyChat_Client\Backup\EasyChat_Client.sln

    ..A..H.     40960  2008-11-17 22:55  复件 EasyChat_Client\Backup\EasyChat_Client.suo

     文件       5152  2007-06-17 23:25  复件 EasyChat_Client\Backup\login_frm.cs

     文件       6858  2007-06-12 15:20  复件 EasyChat_Client\Backup\login_frm.Designer.cs

     文件       5814  2007-06-12 15:20  复件 EasyChat_Client\Backup\login_frm.resx

     文件        471  2007-06-16 19:00  复件 EasyChat_Client\Backup\Program.cs

     文件       1200  2007-06-09 11:58  复件 EasyChat_Client\Backup\Properties\AssemblyInfo.cs

     文件       3228  2007-06-16 18:31  复件 EasyChat_Client\Backup\Properties\Resources.Designer.cs

     文件     158985  2007-06-16 18:23  复件 EasyChat_Client\Backup\Properties\Resources.resx

     文件       1091  2007-06-09 11:58  复件 EasyChat_Client\Backup\Properties\Settings.Designer.cs

     文件        249  2007-06-09 11:58  复件 EasyChat_Client\Backup\Properties\Settings.settings

     文件       7258  2007-06-13 22:04  复件 EasyChat_Client\Backup\Resources\msg.wav

     文件      94252  2007-06-16 18:23  复件 EasyChat_Client\Backup\Resources\nudge.wav

     文件        814  2007-06-12 09:42  复件 EasyChat_Client\Backup\TCPConnection.cs

     文件      10134  2007-06-12 16:45  复件 EasyChat_Client\Backup1\AquaOS.ico

     文件      17413  2009-01-07 19:31  复件 EasyChat_Client\Backup1\chat_frm.cs

     文件      15984  2008-11-19 13:42  复件 EasyChat_Client\Backup1\chat_frm.Designer.cs

     文件      25791  2008-11-19 13:42  复件 EasyChat_Client\Backup1\chat_frm.resx

     文件       5733  2008-11-19 10:43  复件 EasyChat_Client\Backup1\EasyChat_Client.csproj

     文件        505  2008-11-19 10:43  复件 EasyChat_Client\Backup1\EasyChat_Client.csproj.user

     文件        919  2008-11-19 10:43  复件 EasyChat_Client\Backup1\EasyChat_Client.sln

    ..A..H.     40960  2009-01-07 19:32  复件 EasyChat_Client\Backup1\EasyChat_Client.suo

............此处省略151个文件信息

评论

共有 条评论