On 4/20/11 10:57 AM, Chris S wrote:
Hello Mina-Users,
Hi, which MINA version are you using ?
we are using Mina to access different types of network devices (Webcams, Digital-IO-Boxes, Access Control Systems,...). For every type of device we use a dedicated IoConnector because of the different protocols. Under some circumstances we get an "java.net.SocketException: No buffer space available (maximum connections reached?): connect". We figured out that for every created NioSocketConnector 8 connections will be created from localhost to localhost with different ports, even if we do no connect at all. So if we use many NioSocketConnector's we quickly run out of available ports, i guess. Is it possible to tune the NioSocketConnector so it only opens a port when we call #connect(..) ? Thanks in advance Chris
-- Regards, Cordialement, Emmanuel Lécharny www.iktek.com
