X-Git-Url: http://www.lcore.org/git/lcore.git/blobdiff_plain/03b75b4c964d8b3ac97d4007f0e033549b01c92f..9763940f8849e5c807566157829a1e6d2c9172ee:/lcore.pas diff --git a/lcore.pas b/lcore.pas index c936b59..d346c52 100644 --- a/lcore.pas +++ b/lcore.pas @@ -45,7 +45,7 @@ interface receivebufsize=packetbasesize*8; var - absoloutemaxs:integer=0; + absolutemaxs:integer=0; type {$ifdef ver1_0} @@ -84,8 +84,8 @@ interface public state : tsocketstate ; ComponentOptions : TWSocketOptions; - fdhandlein : Longint ; {file discriptor} - fdhandleout : Longint ; {file discriptor} + fdhandlein : Longint ; {file descriptor} + fdhandleout : Longint ; {file descriptor} onsessionclosed : tsocketevent ; ondataAvailable : tsocketevent ; @@ -164,7 +164,7 @@ interface // finitialevent : boolean ; fontimer : tnotifyevent ; fenabled : boolean ; - finterval : integer ; {miliseconds, default 1000} + finterval : integer ; {milliseconds, default 1000} {$ifndef mswindows} procedure resettimes; {$endif} @@ -173,7 +173,7 @@ interface procedure setenabled(newvalue : boolean); procedure setinterval(newvalue : integer); public - //making theese public for now, this code should probablly be restructured later though + //making these public for now, this code should probably be restructured later though prevtimer : tltimer ; nexttimer : tltimer ; nextts : ttimeval ; @@ -590,7 +590,7 @@ begin if (numread=0) and (not mustrefreshfds) then begin {if i remember correctly numread=0 is caused by eof if this isn't dealt with then you get a cpu eating infinite loop - however if onsessionconencted has called processmessages that could + however if onsessionconnected has called processmessages that could cause us to drop to here with an empty recvq and nothing left to read and we don't want that to cause the socket to close} @@ -834,7 +834,7 @@ begin end else begin currenttasklocal := currenttask; //needed in case called from a task end; - // note i don't bother to sestroy the links here as that will happen when + // note i don't bother to destroy the links here as that will happen when // the list of tasks is processed anyway while assigned(currenttasklocal) do begin if currenttasklocal.obj = aobj then begin