Re: Non-http tcp protocol

2009-09-28 Thread Tim Funk
http://mina.apache.org/ -Tim Sergio Bello wrote: Tim Funk escribió: I was thinking on tomcat to take advantage of several features (request and thread management, etc) that I know have been tested for years, but I'm not tied to the use of tomcat. If you know another project (java/opensource)

Re: Non-http tcp protocol

2009-09-28 Thread Stefan Zoerner
I was thinking on tomcat to take advantage of several features (request and thread management, etc) that I know have been tested for years, but I'm not tied to the use of tomcat. If you know another project (java/opensource) I can rely on, could you tell me its name, please? If you prefer Java

Re: Non-http tcp protocol

2009-09-28 Thread Sergio Bello
Tim Funk escribió: Don't - there are other apache projects which can do that much better than Tomcat. -Tim Sergio Bello wrote: Hi all, I'm trying to figure out how to use tomcat as a TCP server. The basic idea is to receive tcp connections, through a given port, process them and return a re

Re: Non-http tcp protocol

2009-09-28 Thread Tim Funk
Don't - there are other apache projects which can do that much better than Tomcat. -Tim Sergio Bello wrote: Hi all, I'm trying to figure out how to use tomcat as a TCP server. The basic idea is to receive tcp connections, through a given port, process them and return a response. Has anyone d

Re: Non-http tcp protocol

2009-09-28 Thread Leon Rosenberg
hello, take the simpliest example from a java book. this is one: public class BasicTCPServer extends AbstractServer implements Runnable{ /** * The port to listen on. */ private int port; /** * The listening socket. */ private Se

Non-http tcp protocol

2009-09-28 Thread Sergio Bello
Hi all, I'm trying to figure out how to use tomcat as a TCP server. The basic idea is to receive tcp connections, through a given port, process them and return a response. Has anyone done it? I've googling but I've not found much information. Which do you think is the best/simplest way to do i