Search found 4824 matches

by idle
Thu Apr 18, 2024 1:13 pm
Forum: Tricks 'n' Tips
Topic: atomic web server threads
Replies: 71
Views: 3787

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: 71
Views: 3787

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: 5321

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: 71
Views: 3787

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: 19
Views: 1924

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: 71
Views: 3787

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: 71
Views: 3787

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: 1125

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: 71
Views: 3787

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: 71
Views: 3787

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: 325
Views: 40459

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...
by idle
Sun Apr 14, 2024 7:31 pm
Forum: Tricks 'n' Tips
Topic: atomic web server threads
Replies: 71
Views: 3787

Re: atomic web server threads

Hi Idle, great work! For a few years now, I am looking for a decent way to remove electron and other blown up solutions for local webpages from my workflow. This seems to be it! Thanks for the work. Really looking forward for things like SSL and GZIP! I tried to download the code via "Get Code...
by idle
Sun Apr 14, 2024 10:24 am
Forum: Coding Questions
Topic: Can't fetch a specific webpage.
Replies: 12
Views: 414

Re: Can't fetch a specific webpage.

so what was the result from the code I posted?
ReceiveHTTPMemory predate httprequest and there may be a difference in how they're implemented.
or maybe its a dns filter blocking the site.
by idle
Sun Apr 14, 2024 5:42 am
Forum: Coding Questions
Topic: ReceiveHTTP doesnt work on Windows 7. Any solution?
Replies: 6
Views: 376

Re: ReceiveHTTP doesnt work on Windows 7. Any solution?

have you tried HTTPRequestMemory instead with #PB_HTTP_WeakSSL or #PB_HTTP_NoSSLCheck
by idle
Sun Apr 14, 2024 5:31 am
Forum: Coding Questions
Topic: Can't fetch a specific webpage.
Replies: 12
Views: 414

Re: Can't fetch a specific webpage.

maybe it's a TLS version issue, I had a similar issue with httpRequest but with the flag #PB_HTTP_WeakSSL it worked. PB uses curl which is TLS only but it's probably TLS 1.2 or 1.3 by default. so the flag will let you back to TLS 1.1 this works win 11 x64 NewMap Header$() Header$("Content-Type&...