You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@mina.apache.org by "zjc@anrigo.com" <zj...@anrigo.com> on 2014/06/21 17:57:43 UTC
Help!I have aquestion 。please answer me thank you very much
There is a project. A hardwear use UDP/IP send messages to the server.
And an App use TCP/IP send and receive the message to server.
so I had to use a NioDatagramAcceptor and a NioSocketAcceptor
to listen 2 port. I want to make them into Spring.
But I aways try and search on Google. There is no the answer.
So I sos for Mina group. Please help me.
thank you!
zjc@anrigo.com
Re: Help!I have aquestion 。please answer me thank you very much
Posted by Emmanuel Lécharny <el...@gmail.com>.
Le 21/06/2014 17:57, zjc@anrigo.com a écrit :
> There is a project. A hardwear use UDP/IP send messages to the server.
> And an App use TCP/IP send and receive the message to server.
> so I had to use a NioDatagramAcceptor and a NioSocketAcceptor
> to listen 2 port. I want to make them into Spring.
> But I aways try and search on Google. There is no the answer.
Because your question is too vague. We don't even know if you have an
issue with using two different acceptors or with Spring.
I would suggest you first make your application to work without Spring,
and once it's working, then you can spend some time investigating the
way you should use Spring.
ll in all, I don't even see what advantage can Spring gives you anyway...