Many connections to a single TCP port of EHS5 module | Thales IoT Developer Community
January 29, 2020 - 8:54am, 1211 views
I use EHS5 modules Rev 03 and Rev 04 with my Java application inside.
My Java application opens a TCP socket connection in Server **** (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 ****). 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.