📄 winchat.cs
字号:
/* Project : WinChat For .NET
* Author : Patrick Lam
* Date : 10/18/2001
* Brief : WinChat For .NET is a simple peer-to-peer chatting program that functions
* very similarly to the WinChat program provided by Windows 2000. It provides
* all the functionalities that the origianl WinChat program provides. WinChat
* For .NET's GUI (Graphical User Interface) is a bit different than the original
* one simply because of personal taste.
* Main Techniques: WinChat For .NET is written in C# and based on .NET SDK beta2. It employs the
* following impressive techniques provided by the .NET platform:
* 1. Greatly simplified Socket programming thanks to the TcpListener,
* TcpClient and UdpClient classes (however, it also proves to be a minor pain
* for some UNIX Socket programmer in some occasions).
* 2. Multi-Threading and Timers.
* 3. Event-driven programming is much simplified by the introduction of delegates.
* 4. Windows Form Controls.
* 5. Protocol-like "hand-shake" for session setup.
*
* Usage : In order to chat to a person, you have to notify him/her before the chat can begin.
* The notification can be done by typing the hostname or IP address of the workstation
* (where the person is located) you want chat into the 揜emote Side抯 Hostname
* or IP Address
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -