• Welcome to PlanetSquires Forums.
 

TCP like that 32-bit BASIC we used before?

Started by Bruce Huber, March 28, 2020, 08:53:35 PM

Previous topic - Next topic

Bruce Huber

Hi José, you had spoken of it in the past, and I was wondering if you were still thinking of building a TCP lib like the one in PB?

Bruce (me) / networking / FreeBASIC ... these things do *NOT* go well together! I could stumble along in PowerBASIC fairly well, but I haven't ever been able to get any networking code working in FB, even though all I need is simple TCP client/server stuff.

By the way, I never had reason to utilize the COM interfaces, libraries and other pieces of code that I saw you create for use with PowerBASIC... and while I'm not smart enough to put the pieces together, I'm smart enough to know how they work and to understand what you've accomplished... and I'm simply in awe!  Your kung-fu is amazing!

Thanks!
Bruce

Paul Squires

I believe that the last time that I had occasion to use TCP, I used the very library by D J Peters: https://www.freebasic.net/forum/viewtopic.php?f=7&t=23421&p=207304
Paul Squires
PlanetSquires Software
WinFBE Editor and Visual Designer

José Roca

#2
I never have used TCP with PowerBasic because it does not work with htpps sites. With FreeBasic, I use my CWinHttpRequest Class. See: https://github.com/JoseRoca/WinFBX/blob/master/docs/COM/CWinHttpRequest%20Class.md


BTW forgive me if I don't post more replies, but I need countless attempts to read or post. I have run Windows diagnostics and it doesn't find any problems in my computer:

The remote computer is not responding to connections on port 443, possibly because of security or firewall policy settings, or because it is temporarily unavailable. Windows could not find a problem with your computer's firewall.


José Roca


Bruce Huber

Wow, Paul! Thanks! I don't know how I've missed Joshy's SNC thing all this time, but that made it really easy to set up a simple TCP client/server in about 5 minutes! That is just what this dummy needed!

And José, your class looks way cool and easy enough for me to use! I have a couple of client-side HTTP ideas that I can think about trying out now!

Thanks a *LOT* you guys!!
Bruce

Paul Squires

Quote from: José Roca on March 28, 2020, 10:16:14 PM
I never have used TCP with PowerBasic because it does not work with htpps sites. With FreeBasic, I use my CWinHttpRequest Class. See: https://github.com/JoseRoca/WinFBX/blob/master/docs/COM/CWinHttpRequest%20Class.md
Silly me - I use that class as well in WinFBE for checking the server to check or program updates.
Paul Squires
PlanetSquires Software
WinFBE Editor and Visual Designer

Paul Squires

Quote from: José Roca on March 28, 2020, 10:43:59 PM
It is working now. Let's hope it lasts.

Happy to hear that it is working again! I'd certainly miss not having you around here. Hopefully the problems won't crop up again.
Paul Squires
PlanetSquires Software
WinFBE Editor and Visual Designer

Paul Squires

You've probably already seen TJF post this on the FB forum but here is his package based on SNC: https://www.freebasic.net/forum/viewtopic.php?f=8&t=24133
Paul Squires
PlanetSquires Software
WinFBE Editor and Visual Designer