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 Quote 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. Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.