Re: [fpc-pascal] FPConnect Timeout

2022-06-08 Thread Dimitrios Chr. Ioannidis via fpc-pascal
Hi, On 2022-06-08 21:07, James Richters via fpc-pascal wrote: I'm not quite following how I could implement that. Here is what I am trying to do: Uses Serial,Sysutils,Sockets,CRT; var Socket_Address: TSockAddr; opt: LongWord; Connect_Result : Integer; TCP_Connect_Socket : Tsocket; begin

Re: [fpc-pascal] FPConnect Timeout

2022-06-08 Thread James Richters via fpc-pascal
From: fpc-pascal On Behalf Of Dimitrios Chr. Ioannidis via fpc-pascal Sent: Wednesday, June 8, 2022 1:11 PM To: fpc-pascal@lists.freepascal.org Cc: Dimitrios Chr. Ioannidis Subject: Re: [fpc-pascal] FPConnect Timeout Hi, Στις 8/6/2022 7:27 μ.μ., ο/η James Richters via fpc-pascal έγραψε: > Is t

Re: [fpc-pascal] FPConnect Timeout

2022-06-08 Thread Dimitrios Chr. Ioannidis via fpc-pascal
Hi, Στις 8/6/2022 7:27 μ.μ., ο/η James Richters via fpc-pascal έγραψε: Is there any way to specify a shorter timeout for FPConnect? AFAIK, socket connect timeout is implemented in ssockets ( in TSocketStream ) not in sockets unit. You can use the TInetSocket's class from ssockets unit ( thi

[fpc-pascal] FPConnect Timeout

2022-06-08 Thread James Richters via fpc-pascal
Is there any way to specify a shorter timeout for FPConnect? ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal