tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: tomcat 7 udp connector
Date Mon, 03 Dec 2012 14:16:52 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jost,

On 12/2/12 1:04 AM, Jost Boekemeier wrote:
> I won't explain php Java bridge. It's just a library which requires
> a jee (tomcat) environment.
> 
> We currently have code, written in php, which comnunicates whith
> trackboxes (mostly systech "a1") via udp/tcp and Java clients via
> http;  in other words: we have a http server, written in php, which
> also accepts udp and tcp requests.
> 
> We want to replace our proprietary code with standard components.
> 
> Wer know that tomcat can handle http and tcp. But what's the best
> way to implement a udp listener? I guess I have to add a new
> connector.

There is no getting around that: you *will* need to implement your own
connector. Unfortunately, the existing connectors are all TCP-oriented
so you are very unlikely to be able to re-use the connector (and
protocol handler) base code that is used by the existing (BIO/NIO/APR)
connectors which all require a reliable channel.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlC8tFQACgkQ9CaO5/Lv0PDNVQCeIJ7eKwkmE4sZc7/wgL/g5k9Z
MfYAn1gie2DzObm8QobfH0XRDA9l6NSt
=QVoY
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message