I'm working on a program in which a UDP server keeps listening to incoming requests. If a particluar kind of request is received, it tries to create a RMI server using the same port on which the UDP server was listening.
So, is this possible? or I need to have different ports?
Yes it's possible. TCP and UDP port numbers are in different namespaces.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.