One of my articles was Yahoo Messenger Client with Action Script 3 now i will show you how to write a yahoo messenger application in php. The script flow its exactly like code from action script because its connect to the same yahoo messenger protocol. For binary working i used a zend package ( Zend_Io ). The implementation of yahoo messenger in php its very simple, use only minimal 6 base classes.
- ChallengeResponseV16 – Used to make the authentification
- Network – Used to communicate trought the socket
- Packet – Keeps human readable packet info
- PacketBody – Keeps human readable packet body info
- Protocol – Builds packets, make login and other yahoo messenger protocol implementation
- Service – Keeps constants with services provided by protocol