[fpc-pascal]win32 server socket problem
Balázs Csaba
csbalazs at ccs.hu
Fri Aug 15 13:10:55 CEST 2003
Ok, fine!
So i can replace procedures that can use textfiles to use recv/send and
select(). I am trying now... GOOD!
Thx!
Is select() existing in win32 platform?
#Tsch : Balázs Csaba
>
>
>
> On Fri, 15 Aug 2003, [iso-8859-2] Balázs Csaba wrote:
>
> > Yes, maybe it is a text file problem, but I cannot solve it. Did
> > somebody make same program on win32? Could I try it with recv(),
> > send()? In this case how can i detect the end of communication?
>
> Normally, with select() you can determine whether there is
> data. with recv() and the MSG_PEEK flag, you can have a peek.
> This should return 0 if there is no data or the connection was closed.
>
> Michael.
>
>
> _______________________________________________
> fpc-pascal maillist - fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/f> pc-pascal
>
More information about the fpc-pascal
mailing list