----- Original Message ----- 
From: "Juan Pablo Franco" <[EMAIL PROTECTED]>
To: "ICS support mailing" <twsocket@elists.org>
Sent: Friday, August 19, 2005 5:16 PM
Subject: Re: [twsocket] Transfer with UDP


> RECEIVE MACHINE:
> procedure TFVisor.overlayListenDataAvailable(Sender: TObject; ErrCode: 
> Word);
> var
>     Buffer : array [0..50000] of char;
>     Src    : TSockAddrIn;
>     Len, SrcLen: Integer;
>     s:string;
> begin
>     overlayListen.BufSize := 16384;
>

I would set the BufSize when you create the socket, or during application 
initialisation, rather than repeatedly in the the data available handler.
But like others, I'm not convinced you need UDP.

Dan 

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to