Not logged in. · Lost password · Register
Forum: agsXMPP RSS
Draco #1
Member since Feb 2007 · 2 posts
Group memberships: Members
Show profile · Link to this post
Subject: Message Receiv and Send
Hi, Everyone:

This question maybe very simple to you, and it is difficult to me, a new person to this project.

I download the sample project and build under VS2003, and change the server from localhost to my intranet ip (,  run the server and one MiniClient (login as item1@ at my pc, run another MiniClient at antoher PC ( Both MiniClients login successfully.

There are somting seem to be wrong:

1. the two MiniClient can't see the online message.
2. cant send chat message between the two MiniClient.

Are there something wrong? Thanks for any help.

The following are the XML debug info at the MiniClient logined as item2:

SEND: <stream:stream to='' xmlns='jabber:client' xmlns:stream='' version='1.0' xml:lang='en'>
RECV: <stream:stream xmlns:stream="" from="" id="e4aaeb57" >
SEND: <iq xmlns="jabber:client" id="agsXMPP_1" type="get" to=""><query xmlns="jabber:iq:auth"><username>item2</username></query></iq>
RECV: <iq xmlns="jabber:client" from="" id="agsXMPP_1" type="result"><query xmlns="jabber:iq:auth"><username>item2</username><password /><digest /></query></iq>
SEND: <iq xmlns="jabber:client" id="agsXMPP_2" to="" type="set"><query xmlns="jabber:iq:auth"><username>item2</username><digest>f05edf1ebb0c87a903a171296d2445df74719395</digest><resource>MiniClient</resource></query></iq>
RECV: <iq xmlns="jabber:client" from="" id="agsXMPP_2" type="result" />
SEND: <iq xmlns="jabber:client" id="agsXMPP_3" type="get" to=""><query xmlns="jabber:iq:agents" /></iq>
SEND: <iq xmlns="jabber:client" id="agsXMPP_4" type="get"><query xmlns="jabber:iq:roster" /></iq>
RECV: <iq xmlns="jabber:client" id="agsXMPP_4" type="result"><query xmlns="jabber:iq:roster"><item subscription="both" jid="item1@" name="Item 1"><group></group></item><item subscription="both" jid="item2@" name="Item 2"><group></group></item><item subscription="both" jid="item3@" name="Item 3"><group></group></item><item subscription="both" jid="item4@" name="Item 4"><group></group></item><item subscription="both" jid="item5@" name="Item 5"><group></group></item><item subscription="both" jid="item6@" name="Item 6"><group></group></item><item subscription="both" jid="item7@" name="Item 7"><group></group></item><item subscription="both" jid="item8@" name="Item 8"><group></group></item><item subscription="both" jid="item9@" name="Item 9"><group></group></item><item subscription="both" jid="item10@" name="Item 10"><group></group></item><item subscription="both" jid="" name="Item JO 1"><group>JO</group></item><item subscription="both" jid="" name="Item JO 2"><group>JO</group></item><item subscription="both" jid="" name="Item JO 3"><group>JO</group></item><item subscription="both" jid="" name="Item JO 4"><group>JO</group></item><item subscription="both" jid="" name="Item JO 5"><group>JO</group></item><item subscription="both" jid="" name="Item JO 6"><group>JO</group></item><item subscription="both" jid="" name="Item JO 7"><group>JO</group></item><item subscription="both" jid="" name="Item JO 8"><group>JO</group></item><item subscription="both" jid="" name="Item JO 9"><group>JO</group></item><item subscription="both" jid="" name="Item JO 10"><group>JO</group></item></query></iq>
SEND: <presence xmlns="jabber:client"><status /><priority>10</priority></presence>
SEND: <presence xmlns="jabber:client"><show>chat</show><status /><priority>10</priority></presence>
SEND: <message xmlns="jabber:client" type="chat" to="item1@"><body>1234</body></message>
Jabberer #2
Member since Feb 2006 · 249 posts
Group memberships: Members
Show profile · Link to this post

there is nothing wrong ;-)
The server sample is only a very basic example which should give you an idea how you can build a server with our SDK. It supports no message routing and no presence. This is the reason why you don't get the messages and no presences.
You should download one of the other free servers for testing. The most users here use Wildfire because it's very easy to setup and get started.
Software Developer
Draco #3
Member since Feb 2007 · 2 posts
Group memberships: Members
Show profile · Link to this post
Jabber, thanks for you reply.
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Forum: agsXMPP RSS