fplisten

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

fplisten

Rainer Stratmann
Does someone know how to limit the connections to a server when calling
fplisten at the serverside.

Now several connections are possible, but I want to limit to 1 connection from
outside.
_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Reply | Threaded
Open this post in threaded view
|

Re: fplisten

Anthony Walter-3
Don't call accept() on the incoming connection, call close() instead.

_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal