agsXMPP

Posted on 2008-04-13 18:59  少林  阅读(1846)  评论(0编辑  收藏  举报

    一直想写一个类似qq的即时通信程序,由于某些原因,一直没有时间.所以拖到了今天,还丝毫没有进展.现在,好不容易有了时间,趁大学毕业之前,赶紧把这个梦想实现吧.今天到网上收集了一些IM的资料,还是有很大的收获吧.决定采用agsxmpp基础上进行开发,而agrscmpp采用是XMPP协议,看样子,对XMPP协议也要有的比较清楚的了解.部分资料如下.
   

Ohloh     agsXMPP is a SDK / library for the eXtensible Messaging and Presence Protocol (XMPP) protocol written in managed C# dedicated to .NET and Mono technologies. The SDK is released as open source under a dual license.

Our SDK could be used for XMPP client, server and component development.

Here is a small sample how easy you can login to a XMPP Server and send a simple chat-message to another user in only 3 lines of code with agsXMPP:

    XmppClientConnection xmpp = new XmppClientConnection("jabber.org");    
    xmpp.Open("myusername", "mysecret");
    xmpp.OnLogin += delegate(object o) { xmpp.Send(new Message("test@jabber.org", MessageType.chat,     "Hello,     how are you?")); };

官方网站:http://www.ag-software.de/index.php?page=agsxmpp-sdk
             http://www.xmpp.org/

Copyright © 2024 少林
Powered by .NET 8.0 on Kubernetes