----- Original Message ----- 
From: "George" <[EMAIL PROTECTED]>
To: <twsocket@elists.org>
Sent: Monday, February 20, 2006 9:20 AM
Subject: [twsocket] UDPServer receive and IP


> Hello,
>
> I have a UDPServer component and on DataAvailable
>
>  SrcLen := SizeOf(Src);
>  Len    := UDPServer.ReceiveFrom(@Buffer, SizeOf(Buffer), Src, SrcLen);
>
> ShowMessage(inet_ntoa(Src.sin_addr)); // i know the IP address of the 
> remote pc
>

Note: Dont use showmessage in the event handler.

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