Thales' cellular IoT products business is now part of Telit Cinterion, find out more.

You are here

Many connections to a single TCP port of EHS5 module | Telit Cinterion IoT Developer Community

January 29, 2020 - 8:54am, 1766 views

Hello, 

I use EHS5 modules Rev 03 and Rev 04 with my Java application inside.

My Java application opens a TCP socket connection in Server mode (so that a TCP-client could connect to the module).

There is a problem with multiple connections to the same TCP-port. When someone connects to my module, I can't connect to it (because EHS5 module can establish only one connection for the TCP-port in TCP server mode). But how to understand that TCP connection has already been established?

I have 3 questions:

1) Is it posible to get some internal notifications from Java in EHS5 module that another client is connecting to the same TCP-port?

2) Is it possible to reject other connections if one connection is already established?

3) Is it possible to process and setup multiple connections with the same TCP-port of EHS5 module?

Thank you for answers.

Regards,

Vitaliy