123
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|174|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Socoder -> FreeBASIC -> p2p IM messenger using ngrok

Sun, 06 Jul 2025, 14:52
forest_gump

p2p IM messenger using ngrok


hi everyone...
Remember ICQ? MSN Messenger or YAHOO messenger back in the 1990s-2000s (now replaced by Telegram, WhatsApp, Signal, and such), sure you do! Or I suppose we all do! Anyway, I thought about maybe I could code some sort of IM messenger, a decentralized real p2p connection using ngrok free or pro for Windows XP and up, using win32api and freebasic (without encryption or file transfer) with typing indicator so you and up to 10 (max users) of your friends would be able to remenise and chat online like it was 1997-2000-ish just for fun (no video or voice calls no emoji no nothing like that just text like it was supposed to have been back then) well here is the code (not perfect not "production level" but works I think well) how it works? Copy the code, save it as "p2p_messenger.bas", then compile it in terminal with your fbc compiler (latest version fbc 1.10.1 32 bit!!! 32 BIT NOT 64 BIT!) like so "fbc -s gui -exx -w all p2p_messenger.bas", double click "p2p_messenger.exe" and see the help ngrok button for details... basically one user has to have ngrok and "be the server" the others are clients that connect to them...

p2p_messenger.bas:

Sun, 06 Jul 2025, 15:01
forest_gump
haaa! Darn, I just saw now you opened a FreeBASIC subforum! COOL! Could you please move this topic to the FreeBASIC subforum? @_@
Sun, 06 Jul 2025, 15:03
Jayenkai
*done