当前注册人数422581人 邮箱: 密码: 注册新用户 忘记密码
首页 C/C++/MFC C# ASP.NET VB.NET MATLAB Android   站内搜索 下载代码说明/积分规则
为什么要注册?

1. 可以直接免费从本站下载代码,防止邮件发送不到您的邮箱,或登录不了国外网站

2. 可以设定关键字,当有您关心的代码收录时,邮件通知您

3. 对这里的代码进行评分和评论

4. 可以和大家一起分享你的源代码,得到更多的建议

Free Source Code for Instant Message/Chat using Remoting for LAN

.NET下使用remoting技术实现的即时通信/聊天程序源代码

2008年05月22日
.NET 1.1, Win2K, WinXP, Windows, .NETVS, VS.NET2003, Dev
这个即时通信程序实现于.NET环境下,开发语言是C#,该例子主要运行于局域网环境中。
相关知识

.NET Framework提供了很多做网络通信的东西-Remoting、Socket(TCP/UDP),Web Services等等。作者之所以选择用Remoting来做,源于他确认这是最强大的工具。

 

public interface IServer
{
    bool SignUp(string username,string password);
    bool ChangePassword(string username,string curPassword,string newPassword);
    bool SignIn(string username,string password,bool visible);
    bool SignOut(string username);        
    
    bool IsVisible(string username);
    bool AddContact(string username,string contact);
    bool RemoveContact(string username,string contact);
    ArrayList GetContacts(string username);
    
    bool Send(string from,string to,string message);
    LetterReceive Receive(string to);
    ArrayList ReceiveOffline(string to);
}
源代码原文下载:
Instant Messaging / Chat using Remoting, for LAN Instant messaging / chat using Remoting, for LAN.

源码图片

点击链接查看大图
从本站下载附件及源代码(1个附件,已经成功下载1782次)

最值得关注的外文源代码

WCF / WPF Chat Application
Simple Instant Messaging using MailSlots
DrawMe - A network ink-chat application exploring .NET 3.5, WPF and WCF
Generic TCP/IP Client/Server
评论(评论是增加积分的一个有效途径)
字数在300字内
请如实评论
本源代码共评论207次,此处显示最近20次评论! 查看所有评论

zmhzj  2017年05月02日
看看,学习一下
zmhzj  2017年05月02日
还需要积分呢
veraqing  2016年03月14日
这个要多少积分才能下啊?
Anyou2010  2015年11月02日
可以看看……
feixue  2013年09月22日
学习一下
longzaitian  2013年07月29日
学习一下
飞扬的枫  2013年07月24日
很好啊很好啊
stanley  2013年07月04日
thanks
liufuhai0321  2013年05月06日
很好啊很好啊
liufuhai0321  2013年05月06日
很好啊
gaojlak  2013年01月15日
值得借鉴
yanyanl6688  2012年11月21日
谢谢!
五味子  2012年10月29日
超级有用
0o清风o0  2012年09月13日
先顶下吧,在下呢
wwkkww1983  2012年09月05日
我要好好学习天天向下
梦萧  2012年08月06日
我要好好学习天天向下
wujinxian  2012年07月18日
学习学习,非常不错啊
gdrj001  2012年06月17日
学习学习,一直没有使用过此技术
jiehuizhang  2012年06月12日
good
jack  2012年06月12日
good
字数在300字内
请如实评论
200万国内源码搜索
CopyRight (C) codesoso.com 2007-2009 All Rights Reserved zhihuishi   免责声明