> 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