Re: [twsocket] Sender's IP in UDP

2008-08-27 Thread A.Shekar
Hi Angus,

Thanks and Regards
Shekar 

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


Re: [twsocket] Sender's IP in UDP

2008-08-26 Thread Angus Robertson - Magenta Systems Ltd
 How can i get the IP/Port of the sender in UDP? 

AddrInLen := SizeOf (TSockAddrIn) ;
len := RxSocket.ReceiveFrom (@FRxBuffer, SizeOf (FRxBuffer) - 1,
  SocRemAddr, AddrInLen) ;
if len = 0 then exit;
PeerIpAddr := WSocket_inet_ntoa (SocRemAddr.sin_addr) ;
PeerIpPort := IntToStr (WSocket_ntohs (SocRemAddr.sin_port)) ;

Angus

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


[twsocket] Sender's IP in UDP

2008-08-25 Thread A.Shekar
Hi,
How can i get the IP/Port of the sender in UDP? 

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