On 19 Nov 2010, at 15:37, Bertrand Delacretaz wrote: > Ok, so if you need TCP connections outside of the java servlet model > you'll need to implement some server-side components that manage > sockets as needed and implement the protocol. > > Sling doesn't put any limitations on this, you can create an OSGi > service that implements any suitable protocol.
eg a smtp bundle [1] see the activate(...) method. HTH Ian 1 https://github.com/sakaiproject/nakamura/blob/master/bundles/smtp/src/main/java/org/sakaiproject/nakamura/smtp/SakaiSmtpServer.java
