Re: [fpc-pascal] Sockets programming in Linux

2025-01-12 Thread n7800 via fpc-pascal
For example, you might find the Synapse package useful:  https://wiki.freepascal.org/Synapse           >Воскресенье, 12 января 2025, 14:04 +05:00 от Duke Normandin via fpc-pascal >: >  >I’ve Googled my butt off looking for fpc/pascal examples >/tutorials on writing a simple tcp client and serve

Re: [fpc-pascal] Sockets programming in Linux

2025-01-12 Thread Hairy Pixels via fpc-pascal
Here’s what ChatGPT says. It just used the UNIX sockets API so nothing different from what you’d see in C. Looks pretty much correct to me but I didn’t try to build it. program TCPClient; uses SysUtils, Sockets; const HOST = '127.0.0.1'; PORT = 12345; var ClientSocket: LongInt; Addres

[fpc-pascal] Sockets programming in Linux

2025-01-12 Thread Duke Normandin via fpc-pascal
I’ve Googled my butt off looking for fpc/pascal examples /tutorials on writing a simple tcp client and server. NO JOY! Anybody got any ideas? TIA — Duke Sent from my iPhone ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepas