Subject: bare minimum client
Hello
I'm in a hurry.
I'm not trying to develop a full client ( not by now, at least ).
I need to send messages to some users from within an application.
The important feature I need is to send the message even if the recipient is not on line at the time.
So I need the bare bones to
- log in to the designated server ( server, port, sender username and pass will be configured for the app )
- send the message to every designated recipient
- close connection
The most intriguing thing is if the type of the message must change if the recipient is online or not.
From the following code ( by pecesama )
pecesama is using "protocol.MessageType.chat"
Is that allways correct, even if the user is not online ?
Thank you
I'm in a hurry.
I'm not trying to develop a full client ( not by now, at least ).
I need to send messages to some users from within an application.
The important feature I need is to send the message even if the recipient is not on line at the time.
So I need the bare bones to
- log in to the designated server ( server, port, sender username and pass will be configured for the app )
- send the message to every designated recipient
- close connection
The most intriguing thing is if the type of the message must change if the recipient is online or not.
From the following code ( by pecesama )
jClient.Send(new agsXMPP.protocol.Message("someJabberIdHere", agsXMPP.protocol.MessageType.chat, txtSend.Text));
pecesama is using "protocol.MessageType.chat"
Is that allways correct, even if the user is not online ?
Thank you