Re: [fpc-devel] TInetSocket connect timeout

2022-06-09 Thread Dimitrios Chr. Ioannidis via fpc-devel
Hi, On 2022-06-09 12:45, Joost van der Sluis via fpc-devel wrote: Op 08-06-2022 om 22:54 schreef Dimitrios Chr. Ioannidis via fpc-devel:   the TInetSocket ConnectTimeout cannot be smaller than 1 second. The reason is that the TInetSocket's CheckSocketConnectTimeout function has the microsecon

Re: [fpc-devel] TInetSocket connect timeout

2022-06-09 Thread Joost van der Sluis via fpc-devel
Op 08-06-2022 om 22:54 schreef Dimitrios Chr. Ioannidis via fpc-devel:   the TInetSocket ConnectTimeout cannot be smaller than 1 second. The reason is that the TInetSocket's CheckSocketConnectTimeout function has the microseconds field (tv_usec) of locTimeVal (PTimeVal) variable always zero .

[fpc-devel] TInetSocket connect timeout

2022-06-08 Thread Dimitrios Chr. Ioannidis via fpc-devel
Hi,   the TInetSocket ConnectTimeout cannot be smaller than 1 second. The reason is that the TInetSocket's CheckSocketConnectTimeout function has the microseconds field (tv_usec) of locTimeVal (PTimeVal) variable always zero .   I created a PR ( https://gitlab.com/freepascal.org/fpc/source/