How do I make robot connect AIM/MSN and stay connected, and respond to a message with a PHP function ?
I can't seem to find even an AIM function that w开发者_如何转开发ould work or isn't from 2001
I think AIM/MSN uses XMPP. Check out the PHP libraries for XMPP.
You would need to implement OSCAR with sockets.
There is a tutorial to socket programming: http://php.net/manual/en/sockets.examples.php
Edit: I stumbled across this resource that may help you: http://wip.asminog.com/workshop/webicqpro/webicqpro.html
精彩评论