Question about more peers chatting at the same time.
I have create a chatting application using jxta. i create two pipe, a input pipe to listen to incoming message and output pipe to send message to other peer. It work well when i have one peer online. however, when two peers are online, i realize that i am unable to do a mass chat. The message i send only get to one peer instead of both peers. My doubt is that the input pipe and output pipe only allow to communicate between one peer. So how could i send a message through one pipe and ensure that all other peer receive my message?