<div>Hi,<div><br></div><div>The "remoteAddress" option is not picked up by bind() but by connect(). &nbsp;I guess you intended to call connect() instead of bind()? &nbsp;I'd recommend you to use the connect() method with the two parameters.</div><div><br></div><div>HTH</div></div>
                <div><br>--&nbsp;<br><a href="http://gleamynode.net/">Trustin Lee</a><br></div>
                 
                <p style="color: #A0A0A8;">On Thursday, August 25, 2011 at 11:35 PM, rBlitz wrote:</p>
                <blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px;">
                    <span><div><div>Hi,<br><br>I'm a new Netty user and I want to test a simple UDP client.<br>I have on th other side, an C++ UDP producer.<br><br>All is alrigth when I check it on my computer with 127.0.0.1 or my IP but<br>when I try to connect my netty to an other pc ... nothing happens... an idea<br>? <br><br>This is my code :<br><br>DatagramChannelFactory f =<br>new NioDatagramChannelFactory(Executors.newCachedThreadPool());<br><br>bootstrap = new ConnectionlessBootstrap(f);<br><br>//Set up handler<br>final UDPClientHandler handler = new UDPClientHandler(this, name);<br><br>// Set up the pipeline factory.<br>bootstrap.setPipelineFactory(new ChannelPipelineFactory() {<br>public ChannelPipeline getPipeline() throws Exception {<br>        return Channels.pipeline(handler);}<br>});                <br><br><br>bootstrap.setOption("receiveBufferSizePredictorFactory",<br>        new FixedReceiveBufferSizePredictorFactory(65500));  <br>         <br>bootstrap.setOption("reuseAddress", true);<br><br>bootstrap.setOption("remoteAddress", ip);<br>bootstrap.bind(new InetSocketAddress(port));<br>}<br><br>Thanks in advance!<br><br>--<br>View this message in context: <a href="http://netty-forums-and-mailing-lists.685743.n2.nabble.com/ConnectionlessBootstrap-UDP-on-network-tp6724676p6724676.html">http://netty-forums-and-mailing-lists.685743.n2.nabble.com/ConnectionlessBootstrap-UDP-on-network-tp6724676p6724676.html</a><br>Sent from the Netty User Group mailing list archive at <a href="http://Nabble.com">Nabble.com</a>.<br>_______________________________________________<br>netty-users mailing list<br><a href="mailto:netty-users@lists.jboss.org">netty-users@lists.jboss.org</a><br><a href="https://lists.jboss.org/mailman/listinfo/netty-users">https://lists.jboss.org/mailman/listinfo/netty-users</a><br></div></div></span>
                 
                 
                 
                 
                </blockquote>
                 
                <div>
                    <br>
                </div>