开发者

Apache MINA Server and PHP Client

开发者 https://www.devze.com 2023-02-06 16:25 出处:网络
If I made a Apache MINA Serv开发者_JAVA技巧er in Java and used a PHP Client would there be any problems? I do not quite understand the NIO thing so if you could explain that to me too I would <3 yo

If I made a Apache MINA Serv开发者_JAVA技巧er in Java and used a PHP Client would there be any problems? I do not quite understand the NIO thing so if you could explain that to me too I would <3 you :)


Your question is terribly broad, but the short answer is yes, you should be able to setup mina <--> php.

I don't know that you really have to know all the nitty gritty details about Java NIO in order to use Mina. To my knowledge, that is sorta the point of Mina - it abstracts out the "hard parts" of the low level NIO stuff.

If you really want to learn about NIO I'm afraid there is no silver bullet answer here that will explain everything you need to know in order to effectively do networking programming - in any language in particular.

That being said, start with the basics, like the wikipedia entry on sockets. Then try a tutorial on sockets in Java, PHP and whatever else you need. Read a book and\or take a class, etc, etc. This isn't one of those things that most people master via one stackoverflow post - it will take time and effort. Good luck!

0

精彩评论

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

关注公众号