can I listens to the same port in differernt threads on the same computer
Q1:can I listens to the same port in differernt threads on the same computer?Q2:if I use two thread to listen to two different port, you know, as the method for listening is a block method, will them block each other?Thank you very much!
[258 byte] By [
XUETAOa] at [2007-10-2 6:45:19]

> Q1:can I listens to the same port in differernt
> threads on the same computer?
If you mean ServerSocket.accept(), the answer is yes.
> Q2:if I use two thread to listen to two different
> port, you know, as the method for listening is a
> block method, will them block each other?
No.
ejpa at 2007-7-16 13:53:57 >
