sam liyanage wrote:i found below in JSP & SERVLET book.please explain
using one server app per port,a server can have up to 65536 different server apps running(although it's possible to run more than one app on the same port if the apps use different protocols)
I believe that the "protocol" being referred to here is the transport level protocol -- meaning either "TCP" or "UDP".
And yes, it is supposedly possible. Never tried it myself though. If you want to confirm it, it should be straightforward to
test -- just create a ServerSocket and a DatagramSocket using the same local bind port.
Henry