Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.

ID: 12465, Fix for socket errors 10014, 10022

by Dan Miser Email: Anonymous

Download Details
FTP  download also available 0 bytes
CDN Login Required to Download. (You will be redirected to the login page if you click on the Download Link)
To download this, you must have registered:
A free membership

For Delphi, Version 2.0  to 2.0 19 downloads
Copyright: No significant restrictions

Size: 0 bytes
Updated on Fri, 14 May 1999 00:00:00 GMT
Originally uploaded on Fri, 14 May 1999 00:00:00 GMT
SCONNECT.PAS (4.02 only)
// Solves error 10014, 10022 errors
function TSocketTransport.Receive(WaitForInput: Boolean): IDataBlock;
RetLen := FSocket.ReceiveBuf(P^, StreamLen);
if RetLen = 0 then
raise ESocketConnectionError.Create(SSocketReadError);
if RetLen>0 then (**) (* Josh Dahlby (98-10-28): Add if statmenet *)
Dec(StreamLen, RetLen);
Inc(Integer(P), RetLen);

   Latest Comments  View All Add New

Move mouse over comment to see the full text

Could not retrieve comments. Please try again later.

Server Response from: ETNACDC03