Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2022-06

TInetSocket connect timeout

3 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Joost van der Sluis
to Dimitrios Chr. Ioannidis

Op 08-06-2022 om 22:54 schreef Dimitrios Chr. Ioannidis via fpc-devel:

Show quoted text 8 lines
  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.

Thanks, I've merged it.

Regards,

Joost.

Reply by email

Unknown author
to Joost van der Sluis

Hi,

Joost van der Sluis wrote 11 lines
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 . > >   I created a PR ( > https://gitlab.com/freepascal.org/fpc/source/-/merge_requests/239 ) to > fix this. Thanks, I've merged it.

Thank you.

May I ask if it's possible to merged it to fixes 3.2 also ?

regards,

Dimitrios chr. Ioannidis

Reply by email