- Original Message -
From: "George" <[EMAIL PROTECTED]>
To:
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:= UDP
I tried with GetXAddr, but it returns 4 times the 0.0.0.0
Ok 4 seperates TWSockets are a temp solution, but I believe you can fix it,
cant you?
George
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website
"George" <[EMAIL PROTECTED]>
> To:
> Sent: Monday, February 20, 2006 10:20 AM
> Subject: [twsocket] UDPServer receive and IP
>
>
>> Hello,
>>
>> I have a UDPServer component and on DataAvailable
>>
>> SrcLen := SizeOf(Src);
>> L
TWSocket for each of your interface, assigning Addr to the IP of the
given interface.
--
[EMAIL PROTECTED]
http://www.overbyte.be
- Original Message -
From: "George" <[EMAIL PROTECTED]>
To:
Sent: Monday, February 20, 2006 10:20 AM
Subject: [twsocket] UDPServer receive
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
but since my computer contains 5 ip addresses in the interfa
eorge" <[EMAIL PROTECTED]>
To:
Sent: Friday, February 17, 2006 3:25 PM
Subject: [twsocket] UDPServer receive and IP
> Hello,
>
> I have a UDPServer component and on DataAvailable
>
> SrcLen := SizeOf(Src);
> Len:= UDPServer.ReceiveFrom(@Buffer, SizeOf(Buff
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
but since my computer contains 5 ip addresses in the interfa