我对 fsockopen() 有疑问。
当我从http://tokudu.com/2010/how-to-implement-push-notifications-for-android编写代码时它不起作用,我得到:
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
我试过这个,但它不能解决我的问题。
有人可以帮我解决这个问题吗?