It’s not a port it’s a File Descriptor.  The socket events are handled by a
selector which uses 1 File Descriptor. There is usually one per processor.
  You can manually set the number of socket processors.

On Fri, Mar 16, 2018 at 11:49 AM Simo Chiegang, Boris Arthur <
[email protected]> wrote:

> Hi,
>
> I made a little test:
>
> test()
> {
>     NioSocketConnector connector = new NioSocketConnector();
>     Connector.dispose();
> }
>
> When I debug through this code, I can see that the instantiation of the
> connector create exactly 12 ports. Why?. It depends on the number of
> processors on the machine?
> This is for my system critical.
>
> Thanks!
>
> ________________________________
>
> Confidentiality note:
> The information in this email and any attachment may contain confidential
> and proprietary information of Heidelberger Druckmaschinen AG and/or its
> affiliates and may be privileged or otherwise protected from disclosure. If
> you are not the intended recipient, you are hereby notified that any
> review, reliance or distribution by others or forwarding without express
> permission is strictly prohibited and may cause liability. In case you have
> received this message due to an error in transmission, we kindly ask you to
> notify the sender immediately and to delete this email and any attachment
> from your system.
>

Reply via email to