[fpc-pascal] why connect is "deprecated"

Xiangrong Fang xrfang at gmail.com
Tue Apr 16 11:12:51 CEST 2013


Hi All,

I am trying to write a tcp client (redis) in free pascal, and found this
function marked as deprecated:

Function Connect(Sock:longint;const addr:TInetSockAddr;var
SockIn,SockOut:text):Boolean; deprecated;

My question is, why it is deprecated, or, what is the replacement for this
function?

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20130416/4d0ec083/attachment.html>


More information about the fpc-pascal mailing list