Rasoull Member Mar 10, 2023 #1 hi I have many users connecting to the server, the server side is written with b4j and I want to connect them one by one, what libraries can I use for this?
hi I have many users connecting to the server, the server side is written with b4j and I want to connect them one by one, what libraries can I use for this?
Erel B4X founder Staff member Licensed User Longtime User Mar 13, 2023 #2 Question is a bit vague. You can use jServer to create a server that supports as many connections as needed. Upvote 0
Question is a bit vague. You can use jServer to create a server that supports as many connections as needed.
Rasoull Member Mar 13, 2023 #3 Erel said: Question is a bit vague. You can use jServer to create a server that supports as many connections as needed. Click to expand... thank you for your reply @Erel I am working on an online game where users connect randomly one by one, is b4j suitable for this and can it support many sockets at the same time? Upvote 0
Erel said: Question is a bit vague. You can use jServer to create a server that supports as many connections as needed. Click to expand... thank you for your reply @Erel I am working on an online game where users connect randomly one by one, is b4j suitable for this and can it support many sockets at the same time?
Erel B4X founder Staff member Licensed User Longtime User Mar 13, 2023 #4 Yes, as I wrote it will support as many connections as you need. Upvote 0
Rasoull Member Mar 13, 2023 #5 Can you send me an example of the server and client side implementation? Upvote 0
OliverA Expert Licensed User Longtime User Mar 13, 2023 #6 If you're looking at rolling your own socket implementation, then look at the FTP server example Thread '[B4X] FTP Server implemented with Socket and AsyncStreams' https://www.b4x.com/android/forum/t...plemented-with-socket-and-asyncstreams.74320/ Upvote 0
If you're looking at rolling your own socket implementation, then look at the FTP server example Thread '[B4X] FTP Server implemented with Socket and AsyncStreams' https://www.b4x.com/android/forum/t...plemented-with-socket-and-asyncstreams.74320/