Re: [twsocket] UDPServer receive and IP

2006-02-20 Thread Dan
- 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

Re: [twsocket] UDPServer receive and IP

2006-02-20 Thread George
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

Re: [twsocket] UDPServer receive and IP

2006-02-20 Thread Arno Garrels
"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

Re: [twsocket] UDPServer receive and IP

2006-02-20 Thread Francois Piette
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

[twsocket] UDPServer receive and IP

2006-02-20 Thread George
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

Re: [twsocket] UDPServer receive and IP

2006-02-17 Thread Francois Piette
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

[twsocket] UDPServer receive and IP

2006-02-17 Thread George
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