kenta-shimizu / secs4java8

This library is SEMI-SECS-communicate implementation on Java8.
Apache License 2.0
109 stars 54 forks source link

Some questions about Example 5: ExampleHsmsGsActiveOne #39

Closed btbtbtbjjzz closed 1 week ago

btbtbtbjjzz commented 3 weeks ago

Hello: When I was running Example 5 ActiveOne, the Host established a TCP connection with the Passive system normally, but after sending S1F15, the TCP disconnected and the console encountered the error shown in the diagram. Would you like to tell me how this happened. In addition, what is the difference between ActiveOne and ActiveTwo? image

kenta-shimizu commented 3 weeks ago

Hi, I don't know either. something is off.

Wrong points in diagram:

Difference is: 'ActiveOne' is open 1 session [100]. 'ActiveTwo' is open 2 session [200,300] at once.

btbtbtbjjzz commented 3 weeks ago

Thanks so much!I have another question,what is the difference between HSMS-SS and HSMS-GS ?

kenta-shimizu commented 3 weeks ago

HSMS-SS is defined in SEMI-E37.1. '-SS' is Single Session. '-SS' is simple set of HSMS(SEMI-E37). Replacement from SECS-I(E4) '-SS' is good enough for use.

HSMS-GS is defined in SEMI-E37.2. '-GS' is General Session. '-GS' is full set of HSMS(SEMI-E37) '-GS' is unnecessarily complicated.

If you choose, recommend HSMS-SS. I have never seen any equipment that uses HSMS-GS.

btbtbtbjjzz commented 3 weeks ago

I see, thank you very much for your help.