Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
3d blobmaker program
#10
(03-15-2025, 02:32 AM)madscijr Wrote: I have a followup question - can QBJS do any kind of networking? For example if 2 people run the same code on the same site, could they communicate, as in a network game or chat program?
What kind of things, as a Web app, can QBJS programs do?
Yes, QBJS can do networking.  Like any other browser-based web application it would need to connect to a web server for communication.  I actually made a chat client in QBJS a little while back.  The chat http server was built in QB64 as QBJS doesn't support server-side or console type applications (yet).  I shut down the public server a few weeks after the posting but you could still run it locally if you were interested in experimenting with connecting multiple chat windows to it to simulate multiple users.
https://qb64phoenix.com/forum/showthread...=qbjs+chat

At some point I'd like to build an Import library that provides expanded support for networking but haven't gotten around to it yet.  In the meantime, there is also the undocumented Fetch command that can be used to query REST-based services.  For example, you might want to make a program that can get Chuck Norris Facts from an online API.
Reply


Messages In This Thread
3d blobmaker program - by madscijr - 03-13-2025, 01:41 AM
RE: 3d blobmaker program - by vince - 03-13-2025, 10:55 PM
RE: 3d blobmaker program - by madscijr - 03-14-2025, 05:17 AM
RE: 3d blobmaker program - by dbox - 03-14-2025, 11:14 AM
RE: 3d blobmaker program - by madscijr - 03-14-2025, 02:49 PM
RE: 3d blobmaker program - by dbox - 03-14-2025, 04:47 PM
RE: 3d blobmaker program - by madscijr - 03-14-2025, 05:02 PM
RE: 3d blobmaker program - by madscijr - 03-15-2025, 02:32 AM
RE: 3d blobmaker program - by dbox - 03-15-2025, 04:23 AM
RE: 3d blobmaker program - by vince - 03-14-2025, 04:51 PM
RE: 3d blobmaker program - by madscijr - 03-15-2025, 06:24 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)