简体   繁体   中英

Apache MINA Server and PHP Client

If I made a Apache MINA Server 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!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM