Hi Wilfried,

Thanks again...

At 05:47 7/21/2005, Wilfried Mestdagh, wrote:
>Hello,
>
>WD>     SetLength(LilBuf, 4096);
>WD>     Cnt := Winsock.recv(MySocket, LilBuf[1], BytesRead, 0);
>
>This is wrong, recv expect there the max size it may fill in the buffer,
>so it should be:
>   Cnt := Winsock.recv(MySocket, LilBuf[1], 4096, 0);

Will take a look at this.

>
>BTW for winsock communication I use TWSocket witch is available on
>http://www.overbyte.be It is free, included source, exellent support
>mailing list, and it does all this job for you :)

Sounds good!  I'll investigate this as well.

>
>---
>Rgds, Wilfried
>http://www.mestdagh.biz
>
>__________________________________________________
>Delphi-Talk mailing list -> [email protected]
>http://www.elists.org/mailman/listinfo/delphi-talk

Start Here to Find It Fast!™ -> http://www.US-Webmasters.com/best-start-page/
$8.77 Domain Names -> http://domains.us-webmasters.com/

__________________________________________________
Delphi-Talk mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi-talk

Reply via email to