I don't think that this will work at all - only one thing is allowed to
listen per port from what I know (If you're actually running this then
I stand very much corrected and amazed).

If this is something that you need to do, I suspect you'll end up having a
single servlet (only one copy - no threads) listening, and then passing it
on to other servlets... somehow.... maybe some kind of event type
broadcast, as only one thing at a time can read from the stream too...

Catherine.

> Hi everybody,
>
> I have a servlet (and its running threads) which is listening a specific
> portnumber. If a message comes in through this port who will get the
> message? All the threads or just one of them and this one should
> distribute it to the others?
>
> Thanx for your answer!
>
>
> regards,
> Robert
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to