[fpc-pascal]Server

FPC Mail list reader fpc at cdp.cugir.com
Thu Jan 11 10:59:47 CET 2001


On Thu, 11 Jan 2001, boci wrote:

> Ok, but how! Pleeeeeease, how? I want, but I didn't find documentation.....
> Or example..... Please send me, how?
> Thanx
> Cow.

try the attachment as a template; all it does is bind the socket, allow
one connection, send a message, wait for one and then exit. if you want to
do a server that actually works, try the serverex example( located
in <ppdir>\source\docs\sockex\serverex.pp . It'll show you how to accept
more connections at the same time, plus other things you need to know.

 Bogdan.






More information about the fpc-pascal mailing list