i working on project sorts packets based on sender ip address (port not matter). wondering if sender ip address included in packet information. if so, how might access number using java?.
yes is, , can access via socket.getremoteaddress() , friends in case of tcp, , corresponding methods of datagrampacket in case of udp.
Comments
Post a Comment