Hi, I'm newbie in sockets programming.
I have code like:
if not Accept(S, FromName, Sin, Sout) then
perror('Server accept: '+FromName);
The FromName variable is string. And when the Accept() function
executed I got the error like:
project1.lpr(31,28) Error: Call by var for arg no. 2 has to match
exactly: Got "ShortString" expected "sockaddr_in"
I get the example code in doc\rtl.dpf Sockets unit. How to fix this
error, what the wrongs.
I have other questions, can lazarus install Indy components for Linux
and WinCE targets.
Thank you for your help
regards
Hidayat
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus