开发者

Anyone has sample code that connects two socket in PHP?

I'm trying to write a php code that acts as a server. All it would do is connects two socket, it opens a file socket and pipes everything from it into another socket that it connects to. It would run 24/7. I'm not familiar with PH开发者_开发百科P but this project requires it. Any help?


Here's a great resource that does exactly what you need:

http://devzone.zend.com/article/1086

An actual answer would be pretty long winded for this Q/A format...

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜