如何用C#语言编写聊天工具 [英] how to program a chat tool by C# language

查看:180
本文介绍了如何用C#语言编写聊天工具的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何用C#语言编写聊天工具?我想学习网络编程,希望编写一个可用于聊天的Winform应用程序.
但是我不知道该怎么做,我需要学习套接字或其他知识吗?

解决方案

这是一个很好的WCF聊天应用程序 [ ^ ]. Code Project中还有其他使用套接字编程而不是WCF的示例.您可以尝试搜索"C#聊天"等字词.


Google! <讽刺模式>该项目以前可能从未做过,</sarcasm模式>因此,我怀疑google是否会提出超过2500万次的点击率-但是,您可能会很幸运,发现其中之一并不涉及通过编码进行交谈...


How to program a chat tool by C# language?I want to learn network programming,and I hope to write a Winform Application which can be used to chatting.
But I don''t know how to do it,do I need to learn socket or other knowlege?

解决方案

Here is an excellent WCF Chat Application[^] written by Sacha Barber. There are other examples in Code Project that uses socket programming instead of WCF. You can try searching for terms like "C# chat", etc.


Google! <sarcasm mode>This project has probably never been done before, </sarcasm mode> so I doubt that google will come up with many more that 25,000,000 hits - however, you might get lucky and find that one of them does not involve talking your through how to code it...


这篇关于如何用C#语言编写聊天工具的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆