udprelay in netty
"Trustin Lee (이희승)"
trustin at gmail.com
Mon Dec 28 20:16:17 EST 2009
Hi Roland,
montanero wrote:
> I'm a netty beginner and trying to implement an application similar to
> udprelay. I am currently stuck in a very early stage of this project and
> hope one of you could hint me in the right direction.
I hope you enjoy Netty :)
> I need to implement an udp server accepting on a single socket datagrams
> from multiple clients. Each client is identified by its remote IP address.
> For each client I need to keep some state, so I think I need to have a
> pipeline for every client, somehow related to a single NioDatagramChannel.
> For each message arriving at the channel I have to find the correct pipeline
> and forward this message to the correct pipeline, for each downstream
> message I have to send this message through the same channel.
>
> How should I start? Should I implement a custom channel class doing the
> demultiplexing? Or is there some other way?
I am somewhat confused. Are you going to write a server, a client, or
both? Also, could you let me know what exactly udprelay does? It it
something like port unification?
Thanks,
Trustin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
Url : http://lists.jboss.org/pipermail/netty-users/attachments/20091229/da33b78d/attachment.bin
More information about the netty-users
mailing list