Moved blocking check to sockets class
This commit is contained in:
parent
51875b54df
commit
d9e78661d3
|
@ -195,10 +195,11 @@ Begin
|
||||||
If Not TBBSCore(Core).LocalMode Then Begin
|
If Not TBBSCore(Core).LocalMode Then Begin
|
||||||
Res := TBBSCore(Core).Client.WriteBuf(OutBuffer, OutBufPos);
|
Res := TBBSCore(Core).Client.WriteBuf(OutBuffer, OutBufPos);
|
||||||
|
|
||||||
|
(* Moved to m_sockets_class 1.10a14
|
||||||
While (Res = -1) and (WSAGetLastError = EWOULDBLOCK) Do Begin
|
While (Res = -1) and (WSAGetLastError = EWOULDBLOCK) Do Begin
|
||||||
WaitMS(10);
|
WaitMS(10);
|
||||||
Res := TBBSCore(Core).Client.WriteBuf(OutBuffer, OutBufPos);
|
Res := TBBSCore(Core).Client.WriteBuf(OutBuffer, OutBufPos);
|
||||||
End;
|
End;*)
|
||||||
End;
|
End;
|
||||||
|
|
||||||
OutBufPos := 0;
|
OutBufPos := 0;
|
||||||
|
|
Loading…
Reference in New Issue