Search found 4828 matches

by idle
Sat Apr 20, 2024 4:08 am
Forum: Tricks 'n' Tips
Topic: atomic web server threads
Replies: 74
Views: 4530

Re: atomic web server threads

v3.0.8b3 Added header fields and cookies Request header fields are read via map *request\RequestHeaders() you can also add additional client Response headers via Atomic_Server_SetResponceHeader(*request.Atomic_Server_Request,key.s,value.s) Cookies are extracted and mapped to *client\Cookies() you ca...
by idle
Fri Apr 19, 2024 10:02 pm
Forum: Tricks 'n' Tips
Topic: atomic web server threads
Replies: 74
Views: 4530

Re: atomic web server threads

I just don't know how I'll do it yet
by idle
Fri Apr 19, 2024 10:26 am
Forum: Announcement
Topic: PureBasic 6.11 LTS Beta 1 is ready for testing !
Replies: 11
Views: 1046

Re: PureBasic 6.11 LTS Beta 1 is ready for testing !

I can't keep up, thanks :mrgreen:
by idle
Fri Apr 19, 2024 10:19 am
Forum: Applications - Feedback and Discussion
Topic: libDataChannelPB WebRTC library
Replies: 20
Views: 1994

Re: libDataChannelPB WebRTC library

I have no idea how many clients it can have and if you want to encrypt data you can use modEC it implements Curve25519 which is the same used in TLS. you can do it with perfect forward secrecy if you hand out keys on registration an example https://www.purebasic.fr/english/viewtopic.php?p=574766#p57...
by idle
Thu Apr 18, 2024 1:13 pm
Forum: Tricks 'n' Tips
Topic: atomic web server threads
Replies: 74
Views: 4530

Re: atomic web server threads

Nice! 8) I just noticed you have a PayPal button on the atomic server page, so I'm donating a little to pay you for some coffees. :wink: Thanks, there's still a lot to do but its a good start, I will look into adding the session stuff next. Great website and project :D Thanks, there's sill a bit to...
by idle
Thu Apr 18, 2024 2:21 am
Forum: Tricks 'n' Tips
Topic: atomic web server threads
Replies: 74
Views: 4530

Re: atomic web server threads

Ok, ok... I wasn't expecting a mature server like the big ones, but some things are essential. I will wait until you advance more on this nice project, I would like to help you, but my web programing skills are near zero :? Thanks again! :wink: It won't be hard to add session state but it still nee...
by idle
Wed Apr 17, 2024 9:15 pm
Forum: Tricks 'n' Tips
Topic: Revised Chr() & Asc() for UTF-16 surrogate pairs
Replies: 20
Views: 5615

Re: Revised Chr() & Asc() for UTF-16 surrogate pairs

infratec wrote: Mon Apr 01, 2024 6:30 pm Yep, that's true.

But ... for a not bit affine person it's now no longer understandable what happens.
They can watch and learn or ask questions. Speed 1st
by idle
Wed Apr 17, 2024 12:51 pm
Forum: Tricks 'n' Tips
Topic: atomic web server threads
Replies: 74
Views: 4530

Re: atomic web server threads

I'm testing the Get/Post now and after some minor tweaks, it works nice :D but... Is there already implemented a way to use persistent variables by session/client? I mean... by example: I use Post to get the name of user then I use that variable name on next page refreshes (or another ones) without...
by idle
Tue Apr 16, 2024 7:43 am
Forum: Applications - Feedback and Discussion
Topic: libDataChannelPB WebRTC library
Replies: 20
Views: 1994

Re: libDataChannelPB WebRTC library

you only need stun for p2p connections when both peers are behind a NAT, if one can connect to the other it's not a problem.
and the data channels look to be easier to use than enet.
by idle
Tue Apr 16, 2024 1:17 am
Forum: Tricks 'n' Tips
Topic: atomic web server threads
Replies: 74
Views: 4530

Re: atomic web server threads

tested on ubuntu 22.04, you might need to change ports to 8080 and 8081 to test.
also check that index.html is lower case
by idle
Mon Apr 15, 2024 9:33 am
Forum: Tricks 'n' Tips
Topic: atomic web server threads
Replies: 74
Views: 4530

Re: atomic web server threads

PBJim wrote: Mon Apr 15, 2024 9:26 am
idle wrote: Mon Apr 15, 2024 8:37 am Thanks, replace it with 255, I'm still using pb 6.10 b6
Thanks, yes that's fixed it, it's working well.
Thanks for pointing it out.
by idle
Mon Apr 15, 2024 9:12 am
Forum: General Discussion
Topic: PureBasic v6.10 is producing a file size 5 times bigger than v6.04
Replies: 21
Views: 1518

Re: PureBasic v6.10 is producing a file size 5 times bigger than v6.04

I know Fred was reluctant to do this but he did it out of necessity, he would still like to see 19kb exe for a hello world console exe but it's just not realistic when half the libs we depend on have capitulated and moved on to linking to the UCRT.
by idle
Mon Apr 15, 2024 8:37 am
Forum: Tricks 'n' Tips
Topic: atomic web server threads
Replies: 74
Views: 4530

Re: atomic web server threads

Thanks very much Idle, there is the below code which won't compile, as it's attemping to put -1 into an unsigned .a Structure ST a.a[256] EndStructure Static skiptable.ST [...] For i = 0 To 255 Skiptable\a[i] = -1; Line 520: Overflow error a 'ascii' (.a) value must be between 0 and 255 Thanks, repl...
by idle
Mon Apr 15, 2024 6:00 am
Forum: Tricks 'n' Tips
Topic: atomic web server threads
Replies: 74
Views: 4530

Re: atomic web server threads

Added to github with test site.
https://github.com/idle-PB/atomic_webserver_3
by idle
Mon Apr 15, 2024 4:29 am
Forum: Announcement
Topic: PureBasic 6.10 LTS is out !
Replies: 330
Views: 41192

Re: PureBasic 6.10 LTS is out !

Great job, thanks! Can you make the output file smaller? In V6.1, it's five/six times bigger than before. on windows it's bigger because the c runtime (crt) has been updated for compatibility and security reasons. the size hardly makes a difference unless your still using 1.44 floppy disks and a 10...