[fpc-pascal] How to implement a simple tcp/ip connection?
Giuliano Colla
giuliano.colla at fastwebnet.it
Tue May 19 19:31:05 CEST 2020
Il 19/05/2020 18:57, Michael Van Canneyt ha scritto:
> They are not missing.
>
> How do you think fpsock and lnet implement non-blocking ?
> It's simply called O_NONBLOCK.
I'm using fpc 3.0.4. With just Sockets in the uses clause both
SOCK_NONBLOCK and O_NONBLOCK give an Identifier not found error.
I've seen that SO_REUSEPORT was commented out, so I just defined it in
my code.
--
Do not do to others as you would have them do to you.They might have different tastes.
More information about the fpc-pascal
mailing list