Search found 65 matches

by lesserpanda
Mon Jun 19, 2023 11:36 pm
Forum: Announcement
Topic: Windows Services & Other Stuff
Replies: 197
Views: 166362

Re: Windows Services & Other Stuff

Was this like a paid site? Or free download? Cuz I was hoping to learn the windows programming with this.
by lesserpanda
Mon Jun 19, 2023 8:33 am
Forum: Announcement
Topic: Windows Services & Other Stuff
Replies: 197
Views: 166362

Re: Windows Services & Other Stuff

Hello, I'm interested in looking at the codes here for Window Services etc.

How do I get to your site? It says permanently closed.
by lesserpanda
Mon May 29, 2023 6:18 am
Forum: Coding Questions
Topic: AMQP Processing
Replies: 0
Views: 627

AMQP Processing

Hi, I'd like to ask if anyone has come across some PureBasic library which can be a AMQP client processing. I have a rabbitmq messaging server and it'll be good if I can get it to integrate without writing another library function for it.

Thanks
by lesserpanda
Thu May 04, 2023 12:50 am
Forum: Coding Questions
Topic: Convert application/x-www-form-urlencoded to variables
Replies: 7
Views: 1081

Re: Convert application/x-www-form-urlencoded to variables



If you want to write a complete web server you can be sure that it will be time consuming, you would also have to start from scratch since the Atomic webserver code isn't suitable and it doesn't implement HTTPS encryption. Have you looked into the CGI (and FastCGI) library? If you have already a ...
by lesserpanda
Thu May 04, 2023 12:48 am
Forum: Coding Questions
Topic: Windows platform - network diagnostic app
Replies: 3
Views: 542

Re: Windows platform - network diagnostic app

Thank you everyone! I will work out code.
by lesserpanda
Thu May 04, 2023 12:43 am
Forum: Coding Questions
Topic: Connect to PB Websocket server
Replies: 1
Views: 406

Connect to PB Websocket server

Hello guys,

As I dive deeper into PB/SB world ... I have to say I am enjoying it.

So I have a structure,
Backend:
- PB (running web socket server)
Client:
- SB (using OpenWebSocket() to connect back to PB)
- SvelteKit (using websocket as well to PB)

All good here.
I was just trying to do the ...
by lesserpanda
Wed May 03, 2023 1:39 am
Forum: Coding Questions
Topic: Windows platform - network diagnostic app
Replies: 3
Views: 542

Windows platform - network diagnostic app

Looking to build a tool which

1. Ping and save ms to certain list of IPs.
2. Measure jitter ms

Any network library or dll I can hook into that anyone knows of?

Just wanting some diagnostic data and thought it might be something which I can use to learn more PB!

Thanks!
by lesserpanda
Wed May 03, 2023 1:27 am
Forum: Coding Questions
Topic: Convert application/x-www-form-urlencoded to variables
Replies: 7
Views: 1081

Re: Convert application/x-www-form-urlencoded to variables

@infratec, @benubi, looking at a multipart HTTP post

Like in PHP, it goes into $_POST variable 'automatically'

It's the mailgun service posting the received email. So I changed code in Atomic Web Server for POST and tried to just simply output the received POST - you can see in the bottom of the ...
by lesserpanda
Tue May 02, 2023 12:16 pm
Forum: Coding Questions
Topic: Convert application/x-www-form-urlencoded to variables
Replies: 7
Views: 1081

Convert application/x-www-form-urlencoded to variables

Hi,
is there a library or something which can lay a POSTED application/x-www-form-urlencoded HTTP POST and split it nicely into variables?

I have been looking at the Atomic HTTP server example and got the whole buffer but I'm not too familiar with how to split to get the relevant data out.

Thanks!
by lesserpanda
Tue May 02, 2023 12:42 am
Forum: Coding Questions
Topic: Write HTTP Server for API
Replies: 2
Views: 613

Re: Write HTTP Server for API

Oh perfect. That's what I was after.

Thank you very much for your direction as always!
by lesserpanda
Mon May 01, 2023 3:07 pm
Forum: Coding Questions
Topic: Write HTTP Server for API
Replies: 2
Views: 613

Write HTTP Server for API

Hi guys,

I've done a simple exe based on the example and ran it as a CGI In IIS. This works.

However, I'm trying to see if I can do a HTTP POST to it instead of just a GET. Or for that matter, other http requests type.

Here's the example I'm using.

If Not InitCGI() Or Not ReadCGI()
End
EndIf ...
by lesserpanda
Mon May 01, 2023 2:22 pm
Forum: Coding Questions
Topic: Question on JSON handling
Replies: 3
Views: 491

Re: Question on JSON handling

If JSONType(GetJSONMember(JSONValue(JSON_ID), "Target")) = PB_JSON_String

this is what I was after ... thank you
by lesserpanda
Sun Apr 30, 2023 1:41 am
Forum: Coding Questions
Topic: Question on JSON handling
Replies: 3
Views: 491

Question on JSON handling

Hi guys,

I'm trying to parse and get posted JSON values easily.

Here's an excerpt of what I'm doing


JSON_ID = ParseJSON(#PB_Any, SomeStringReceived)
If JSON_ID
If GetJSONMember(JSONValue(JSON_ID), "Target")
Target.s = GetJSONString(GetJSONMember(JSONValue(JSON_ID), "TargetType"))
EndIf
EndIf ...
by lesserpanda
Wed Apr 19, 2023 8:05 am
Forum: General Discussion
Topic: Purebasic 32 bit version malware detected
Replies: 2
Views: 488

Re: Purebasic 32 bit version malware detected

OK thanks. I reckon so and I've submitted it.
by lesserpanda
Wed Apr 19, 2023 3:51 am
Forum: General Discussion
Topic: Purebasic 32 bit version malware detected
Replies: 2
Views: 488

Purebasic 32 bit version malware detected

Hi, I didn't know where to put this - But I got this on the 32bit version.

PUREUNITGUI.EXE, W32.Malware.Gen, %programfiles%\purebasic\sdk\pureunit\,

It's the 6.01 LTS version. What's this file? Is this part of the purebasic dev?

I'm not sure how this happened. It was detected by WebRoot antivirus ...