mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-19 12:09:14 +02:00
* Inform the server socket object that it runs non-blocking
This commit is contained in:
parent
1cf879857e
commit
aebf2e96af
@ -514,6 +514,7 @@ begin
|
||||
DataAvailableNotifyHandle := EventLoop.SetDataAvailableNotify(
|
||||
InetServer.Socket, @InetServerDataAvailable, nil);
|
||||
InetServer.OnConnect := @InetServerConnect;
|
||||
InetServer.SetNonBlocking;
|
||||
InetServer.Listen;
|
||||
end;
|
||||
|
||||
@ -621,7 +622,10 @@ end.
|
||||
|
||||
{
|
||||
$Log$
|
||||
Revision 1.1 2002-04-25 19:30:29 sg
|
||||
Revision 1.2 2003-06-25 08:53:51 sg
|
||||
* Inform the server socket object that it runs non-blocking
|
||||
|
||||
Revision 1.1 2002/04/25 19:30:29 sg
|
||||
* First version (with exception of the HTTP unit: This is an improved version
|
||||
of the old asyncio HTTP unit, now adapted to fpAsync)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user