Ondrej Pokorny 4 years ago
parent
commit
1d18f2fdbf
1 changed files with 2 additions and 0 deletions
  1. 2 0
      packages/fcl-net/src/ssockets.pp

+ 2 - 0
packages/fcl-net/src/ssockets.pp

@@ -491,6 +491,8 @@ var
   B: Byte;
   B: Byte;
   lTM: Integer;
   lTM: Integer;
 begin
 begin
+  // ToDo: support properly with the socket select() function
+  // currently a workaround
   lTM := IOTimeout;
   lTM := IOTimeout;
   IOTimeout := TimeOut;
   IOTimeout := TimeOut;
   FHandler.Recv(B,0);
   FHandler.Recv(B,0);