Network file transfer
imagenesis at gmail.com
imagenesis at gmail.com
Mon Oct 10 05:55:22 EDT 2011
Take a look at the tutorials on the netty site for how client and servers
are created. A simple client/server isn't more than 100 lines of code. Your
question is just so basic it looks like you haven't look at the first 3
pages of the documentation.
On Mon, Oct 10, 2011 at 1:58 AM, Norman Maurer <norman.maurer at googlemail.com
> wrote:
> Hi there,
> so messageReceived is never fired ? Very strange...
>
> What os you are using and what version of netty?
>
> Bye,
> Norman
>
>
> 2011/10/10 metalstorm <metalheadstorm at gmail.com>:
> > I've spent the last few days looking at java networking libraries/
> frameworks
> > for a project i'm starting. I'm porting an already existing application I
> > made in c# over to java.
> >
> > This core of this application is networked(LAN) file transfers, how do I
> go
> > about this using netty?
> >
> > My aim is to be able to send files (can be quite big) over TCP from a
> server
> > to a client (P2P) over LAN (for now)
> >
> > I've looked at the HttpStaticFileServer example and I do not know how to
> get
> > the server to respond to any requests, 'messageReceived' is never fired
> even
> > though i have connected with a (very basic) client.
> >
> > I've searched Google and this (I must say terrible) forum and I can't
> find
> > any simple examples using netty where it will send a file from a given
> path
> > to a client.
> >
> > My C# prototype just uses TCP sockets, I don't need any of the HTTP stuff
> on
> > top.
> >
> > What about multiple connections between server and client (multiple file
> > transfers) also how do the server organise multiple clients/connections.
> Is
> > all the threading done for me ? threads per connection per file ?
> >
> > Basically to sum up; I need a client + server example of TCP/LAN file
> > transfer using netty, that could be used for mutiple connections /
> transfer.
> >
> > Thank you :)
> >
> > --
> > View this message in context:
> http://netty-forums-and-mailing-lists.685743.n2.nabble.com/Network-file-transfer-tp6875434p6875434.html
> > Sent from the Netty User Group mailing list archive at Nabble.com.
> > _______________________________________________
> > netty-users mailing list
> > netty-users at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/netty-users
> >
> _______________________________________________
> netty-users mailing list
> netty-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/netty-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/netty-users/attachments/20111010/756d1047/attachment.html
More information about the netty-users
mailing list