Which of these method of DatagramPacket is used to find the port number?
(a) port()
(b) getPort()
(c) findPort()
(d) recievePort()
This question was posed to me in unit test.
I want to ask this question from Networking topic in section Serialization & Networking of Java