Re: [fpc-pascal] Sockets programming in Linux

2025-01-20 Thread Duke Normandin via fpc-pascal
Thx - I’ll have a look at it > On Jan 20, 2025, at 4:19 AM, Dennis via fpc-pascal > wrote: > >  > On 11/01/2025 8:46 pm, Duke Normandin via fpc-pascal wrote: >> I’ve Googled my butt off looking for fpc/pascal examples >> /tutorials on writing a simple tcp client and server. NO JOY! Anybody go

Re: [fpc-pascal] Sockets programming in Linux

2025-01-20 Thread Dennis via fpc-pascal
On 11/01/2025 8:46 pm, Duke Normandin via fpc-pascal wrote: 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 mail

Re: [fpc-pascal] Sockets programming in Linux

2025-01-13 Thread Duke Normandin via fpc-pascal
> On Jan 13, 2025, at 12:58 AM, n7800 via fpc-pascal > wrote: > >  > For example, you might find the Synapse package useful: > https://wiki.freepascal.org/Synapse Thx! Sadly I don’t speak OOP. Plain old Pascal is my bag! Thx again….___ fpc-pascal

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