Added receiving IPs and ports

Added some methods which return destination IP, source IP, destination
port and source port.