I have a problem about fsockopen().
when i write code from http://tokudu.com/2010/how-to-implement-push-notifications-for-android it doesn't work, and i get:
Warning: fsockopen() [function.fsockopen]: unable to connect to localhost:port
(No connection could be made because the target machine actively refused it. )
in C:\xampp\htdocs\PhpMQTTClient-master\SAM\MQTT\sam_mqtt.php on line 641
Offline
I have try this, but it cannot solve my problem.
Can anybody help me solve this problem?