Code example to write asynchronous server
manishr22
manishr22 at gmail.com
Fri Apr 10 08:17:54 EDT 2009
Hi,
I had a problem statement
"to write an asynchronous TCP server to which multiple clients will connect and keep sending messages to my tcp server. My server should read the message and send back some acknowledgment information to the client who sent the data. While reading the data at server since the message comes in particular format i have to do some processing before sending the response back to client."
say my client is sending a message structure in which it has some header and then in body it has message like :
<manish>welcome to the real world</manish>
I was on the way to implement NIO but in between i found such a great library netty and thought of using it. i was trying to make use of this library with the given tutorial and examples but i found that tutorial is not good enough to solve the complex problem.
If you can provide me some guidance or sample code that how i should solve my problem using netty library, that would be great.
Thanks in advance.
Regards
Manish
--
View this message in context: http://n2.nabble.com/Code-example-to-write-asynchronous-server-tp2615889p2615889.html
Sent from the Netty User Group mailing list archive at Nabble.com.
More information about the netty-users
mailing list