rockxl1 Posted March 15, 2009 Share Posted March 15, 2009 Hi there. Any one know how is usefull sockets in php? I program java in university and sockets in java is very usefull. In php how can i use sockets? can anyone tell me a program example? chat? And threads? exist in php? Thanks Rafael Rocha - Portugal Link to comment https://forums.phpfreaks.com/topic/149509-sockets-in-php-and-threads/ Share on other sites More sharing options...
corbin Posted March 15, 2009 Share Posted March 15, 2009 Did you google "php sockets"? You can use fsockopen if you want to make a client, but if you want to make PHP listen for connections, you will have to use socket_create and it's related functions. Link to comment https://forums.phpfreaks.com/topic/149509-sockets-in-php-and-threads/#findComment-785212 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.