Hi guys,
I am currently in the process of refactoring some binary protocol between the DUT and the tester. I've used TCP over the IPL4 test port previously but would like to use SCTP instead.
In theory this should be straight forward, shouldn't it? But I can't seem to get it to work. The autoconnect wouldn't succeed. Below are the testport parameters.
[TESTPORT_PARAMETERS]
system.E_SRB.debug := "yes" //or "no"
system.E_SRB.defaultListeningPort := "0"
system.E_SRB.map_behavior := "connect"
system.E_SRB.RemotePort := "2226" // SUT port for E_SRB
system.E_SRB.RemoteHost := "127.0.0.1" // SUT - IP
system.E_SRB.lazy_conn_id_handling := "yes"
system.E_SRB.map_protocol := "sctp"
system.E_SRB.sctp_stack := "kernel"
I am running a ncat listener like this
The Titan logs look like this:
13:03:53.523609 PARALLEL NasEmu.ttcn:689(function:f_NASEMU_MainLoop) Mapping port 4:SYS_SRB to system:E_SRB.
13:03:53.523693 PORTEVENT NasEmu.ttcn:689(function:f_NASEMU_MainLoop) Port SYS_SRB was mapped to system:E_SRB.
13:03:53.523757 PORTEVENT NasEmu.ttcn:689(function:f_NASEMU_MainLoop) Port E_SRB was started.
13:03:53.523799 DEBUG NasEmu.ttcn:689(function:f_NASEMU_MainLoop) E_SRB: IPL4asp__PT_PROVIDER::set_parameter: enter (name: debug, value: yes)
13:03:53.523836 DEBUG NasEmu.ttcn:689(function:f_NASEMU_MainLoop) E_SRB: IPL4asp__PT_PROVIDER::set_parameter: enter (name: defaultListeningPort, value: 0)
13:03:53.523855 DEBUG NasEmu.ttcn:689(function:f_NASEMU_MainLoop) E_SRB: IPL4asp__PT_PROVIDER::set_parameter: enter (name: map_behavior, value: connect)
13:03:53.523867 DEBUG NasEmu.ttcn:689(function:f_NASEMU_MainLoop) E_SRB: IPL4asp__PT_PROVIDER::set_parameter: enter (name: RemotePort, value: 2226)
13:03:53.523878 DEBUG NasEmu.ttcn:689(function:f_NASEMU_MainLoop) E_SRB: IPL4asp__PT_PROVIDER::set_parameter: enter (name: RemoteHost, value: 127.0.0.1)
13:03:53.523903 DEBUG NasEmu.ttcn:689(function:f_NASEMU_MainLoop) E_SRB: IPL4asp__PT_PROVIDER::set_parameter: enter (name: lazy_conn_id_handling, value: yes)
13:03:53.523917 DEBUG NasEmu.ttcn:689(function:f_NASEMU_MainLoop) E_SRB: IPL4asp__PT_PROVIDER::set_parameter: enter (name: map_protocol, value: sctp)
13:03:53.523928 DEBUG NasEmu.ttcn:689(function:f_NASEMU_MainLoop) E_SRB: IPL4asp__PT_PROVIDER::set_parameter: enter (name: sctp_stack, value: kernel)
13:03:53.523941 DEBUG NasEmu.ttcn:689(function:f_NASEMU_MainLoop) E_SRB: IPL4asp__PT_PROVIDER::user_map(SYS_SRB): enter
13:03:53.524232 PORTEVENT NasEmu.ttcn:689(function:f_NASEMU_MainLoop) entering f__IPL4__PROVIDER__connect: :0 -> 127.0.0.1:2226 / SCTP
13:03:53.524262 DEBUG NasEmu.ttcn:689(function:f_NASEMU_MainLoop) E_SRB: f__IPL4__PROVIDER__connect: enter
13:03:53.524327 DEBUG NasEmu.ttcn:689(function:f_NASEMU_MainLoop) E_SRB: f__IPL4__PROVIDER__connect: create new socket: :0 -> 127.0.0.1:2226
13:03:53.524493 ERROR NasEmu.ttcn:689(function:f_NASEMU_MainLoop) Dynamic test case error: IPL4asp__PT_PROVIDER::user_map(SYS_SRB): Autoconnect: Can not connect: -1
13:03:53.524575 VERDICTOP NasEmu.ttcn:689(function:f_NASEMU_MainLoop) setverdict(error): none -> error
I am using R25A of the IPL4asp.
Any idea whats going on here?
Thanks
Andre