UDP Proxy Exceptions

Markus DE HL7975 at gmx.de
Thu Oct 1 06:23:22 EDT 2009


I think I haven't explained my problem well enough or the topic description
isnt very meaningful.

This is basically what I'm trying to achieve:

Let's take a simple application, which communicates to an endpoint (server)
via UDP.

In my case I dont want to talk directly to the server, I want to handle
communication through a proxy:

UDP client --- > proxy server ---- > (forwards data to a predefined endpoint
---> server
               netty-server, netty-client

So packets coming from the "UDP client" arrive at the proxy server and
should be forwarded by a netty-client to the real destination. This works so
far, but when packets are sent from the desitnation server and then should
be forwarded to the real "UDP client" I get the exceptions.

In the nopaste source, its like 68:

sourceChannel.write(e.getMessage(),
((DatagramChannel)sourceChannel).getRemoteAddress());

I hope this helps.
-- 
View this message in context: http://n2.nabble.com/UDP-Proxy-Exceptions-tp3731694p3748118.html
Sent from the Netty User Group mailing list archive at Nabble.com.


More information about the netty-users mailing list