خرید بک لینک

Vote count: 0

I am currently in the process of creating a desktop server. This server is meant to receive packets from android phones through a third party application. The server must be able to quickly read and write packets to different SocketChaels and be able to support 1000+ coections/packets at a time.

My question is, should I be using ServerSocketChael with the non-blocking configuration or AsynchronousServerSocketChael?

I have read almost everything there is online to read on the matter. I have also attempted making a server with both versions. I have personal found the most success with ServerSocketChael configured to non-blocking but have run into an issue with easily sending bytes from one chael to another without. If you guys need anymore information please let me know!

Thank you!

asked 2 mins ago

برچسب: نویسنده: استخدام کار تاريخ: چهارشنبه 15 ارديبهشت 1395 ساعت: 11:21

صفحه بندی