[fpc-devel] TInetSocket connect timeout

Dimitrios Chr. Ioannidis d.ioannidis at nephelae.eu
Wed Jun 8 22:54:54 CEST 2022


   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/-/merge_requests/239 ) to 
fix this.



Dimitrios Chr. Ioannidis

More information about the fpc-devel mailing list