On 06/15/2018 11:59 PM, Chas. Owens wrote:
Look at the SetMessageCallBacks method in Net::XMPP::Protocol.
It lets you set the function to run when a message of a specific type
comes in.
Thanks, that works great :)
On Fri, Jun 15, 2018 at 5:34 AM hw <h...@gc-24.de <mailto:h...@gc-24.de>> wrote:
On 06/15/2018 02:21 PM, Chas. Owens wrote:
> In Net::XMPP::Client it says
>
> For a full list of high level functions available please see
> Net::XMPP::Protocol.
>
> In that documentation it says
>
> $Con = new Net::XMPP::Client(); # From
> $status = $Con->Connect(hostname=>"jabber.org <http://jabber.org>
<http://jabber.org>"); #
> Net::XMPP::Client
>
> $Con->Send("<tag>XML</tag>");
Sending a message was easy, using Net::XMPP::Client and MessageSend().
The documentation of Net::XMPP::Client says "Net::XMPP::Client provides
functions to connect to an XMPP server, login, send and receive
messages
[...]".
Hence I´m wondering how to receive messages with this client module. I
don´t want to write my own client if that can be avoided.
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
<mailto:beginners-unsubscr...@perl.org>
For additional commands, e-mail: beginners-h...@perl.org
<mailto:beginners-h...@perl.org>
http://learn.perl.org/
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/