Skip to content
logo
ecu.test 2025.3 Help
Port SERVICEACCESS - TCP-SERVER-SOCKET πŸ›ˆ
  • English
  • Deutsch
Initializing search
    • Getting Started
    • Overview
    • ecu.test Main program
    • Further included programs
    • Tools
      • A&D: iTest
      • ASAM: ACI
      • ASAM: iLinkRT
      • ASAM: XIL
      • ASAP: STEP
      • ATI: VISION
      • AVL: LYNX
      • AVL: PUMA
      • Basler: pylon
      • Beckhoff: TwinCAT
      • Digiteq: FG4 MultiBox
      • Digiteq: MGB
      • dSPACE: AURELION
      • dSPACE: ControlDesk
      • dSPACE: ModelDesk
      • dSPACE: MotionDesk
      • dSPACE: RTMaps
      • dSPACE: XIL API
      • EA: UTA 12
      • EMVA: GenICam
      • ESI: SimulationX
      • ETAS: BOA
      • ETAS: COSYM-SIL
      • ETAS: INCA
      • ETAS: LABCAR-PINCONTROL
      • FEP
      • FEP3
      • FEV: MorphΓ©e
      • froglogic: Squish
      • Google: ADB
      • GΓΆpel: Video Dragon
      • Hexagon: VTD
      • HMS: ACT - Restbussimulation
      • HMS: Legacy Bus Interfaces (VCI V2)
      • HMS: VCI V4
      • HORIBA FuelCon: TestWork
      • IDS: uEye
      • IPETRONIK: ETHOS
      • IPG: CarMakerHeadless
      • IPG: CarMaker|RealTimeMaker
      • JS Foundation: Appium
      • Keysight: CDS
      • Keysight: ESD
      • KS Engineers: TornadoACI
      • Lauterbach: TRACE32
      • MAGNA: BluePiraT
      • Mathworks: MATLAB & Simulink
      • Mechanical Simulation Corporation: CarSim
      • MicroNova: NovaCarts
      • Modelica Association: FMI
      • MOTEON: MTB
      • NI: LabVIEW
      • NI: VeriStand
      • NI: VISA
      • Opal-RT: RT-LAB
      • PEAK: PCAN
      • PLS: UDE
      • QUANCOM: QLIB
      • RA Consulting: DiagRA D
      • ROS2
      • SAE: PassThru
      • SFC: Selenium
      • Softing: DTS
      • Speedgoat: SimulinkRealTimeXIL
      • Synopsys: Silver
      • Synopsys: SilverXIL
      • Synopsys: Virtualizer
      • Technica: BTS
      • Technica: CM
      • The GNU Project: GDB
      • TOSUN: libTSCAN API
      • tracetronic: Ethernet
        • Ports
          • Port SERVICEACCESS - ARP πŸ›ˆ
          • Port SERVICEACCESS - ETHERNET-RAW πŸ›ˆ
          • Port SERVICEACCESS - ICMP-RAW πŸ›ˆ
          • Port SERVICEACCESS - UDP-RAW πŸ›ˆ
          • Port SERVICEACCESS - RECORDING-PCAP πŸ›ˆ
          • Port SERVICEACCESS - TCP-SERVER-PCAP-SOCKET πŸ›ˆ
          • Port SERVICEACCESS - TCP-CLIENT-PCAP-SOCKET πŸ›ˆ
          • Port SERVICEACCESS - UDP-PCAP-SOCKET πŸ›ˆ
          • Port SERVICEACCESS - SERVICE-PCAP-PASSIVE πŸ›ˆ
          • Port BUSACCESS - CAPTURE-CAN(-FD) πŸ›ˆ
          • Port BUSACCESS - CAPTURE-LIN πŸ›ˆ
          • Port BUSACCESS - CAPTURE-FLX πŸ›ˆ
          • Port LOGGING - DLT-VERBOSE πŸ›ˆ
          • Port BUSACCESS - SOCKETADAPTOR πŸ›ˆ
          • Port SERVICEACCESS - IPSEC πŸ›ˆ
          • Port BUSACCESS - IEEE1722-CAN(-FD) πŸ›ˆ
          • Port SERVICEACCESS - MACSEC πŸ›ˆ
          • Port SERVICEACCESS - SERVICE πŸ›ˆ
          • Port SERVICEACCESS - TCP-SERVER-SOCKET πŸ›ˆ
            • Stimulation
            • Properties πŸ›ˆ
            • Jobs πŸ›ˆ
              • ClearReceiveBuffer
              • CloseConnection
              • ConnectionInfo
              • ReceivePacket
              • ReceiveSomeIpMessage
              • SendPacket
              • StartAccepting
              • StartSendPacketCyclic
              • StopSendPacketCyclic
          • Port SERVICEACCESS - TCP-CLIENT-SOCKET πŸ›ˆ
          • Port SERVICEACCESS - UDP-SOCKET πŸ›ˆ
          • Port SERVICEACCESS - TLS πŸ›ˆ
          • Port DIAGNOSTICS - DOSOAD-SOCKET πŸ›ˆ
          • Port DIAGNOSTICS - DOIP-SOCKET πŸ›ˆ
          • Port DIAGNOSTICS - DOIP-PCAP πŸ›ˆ
          • Port DIAGNOSTICS - IEEE1722-J1939 πŸ›ˆ
          • Port APPLICATION - XCP-ETH πŸ›ˆ
          • Port APPLICATION - XCP-PCAP πŸ›ˆ
          • Port MODELACCESS - CAPTURE-ANALOG πŸ›ˆ
          • Port DIAGNOSTICS - SOVD-SOCKET πŸ›ˆ
      • tracetronic: Multimedia
      • tracetronic: RemoteCommand
      • tracetronic: RemoteCommandLinux
      • tracetronic: Serial interface
      • tracetronic: SocketCAN
      • tracetronic: SSH MultiConnect
      • tracetronic: ZeroMQ
      • TTTech: TTXConnexion
      • Typhoon HIL: THCC
      • Vector: CANape
      • Vector: CANoe / CANalyzer
      • Vector: DYNA4
      • Vector: SIL Kit
      • Vector: XL API
      • Vehinfo: LABCAR
      • ViGEM: CCA
      • VW: ODIS
      • X2E: Xoraya
      • Tools with stimulus support
    • Test execution
    • Trace analysis
    • Workspace
    • Handling
    • Test management
    • test.guide
    • Extensions
    • Specific Tutorials
    • API references
    • System requirements
    • ecu.test on Linux
    • ecu.test code
    • ecu.test agent
    • ecu.test lab
    • Stimulation
    • Properties πŸ›ˆ
    • Jobs πŸ›ˆ
      • ClearReceiveBuffer
      • CloseConnection
      • ConnectionInfo
      • ReceivePacket
      • ReceiveSomeIpMessage
      • SendPacket
      • StartAccepting
      • StartSendPacketCyclic
      • StopSendPacketCyclic

    Port SERVICEACCESS - TCP-SERVER-SOCKET πŸ›ˆΒΆ

    socket-based TCP server

    StimulationΒΆ

    This port has no stimulus capabilities.

    Properties πŸ›ˆΒΆ

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    Receive buffer size

    1000

    int

    Number of messages which can be recorded in the receive buffer (ring buffer)

    IP version

    IPv4

    [IPv4, IPv6]

    string

    Selection of the IP version used

    Keep cyclic sending active

    ☐

    bool

    If the check mark is set, the cyclical sending of packets is only stopped at port stop or by the explicit call to β€˜StopSendPacketCyclic’. Otherwise (default), the cyclic sending is already terminated at the end of the test.

    Jobs πŸ›ˆΒΆ

    ClearReceiveBufferΒΆ

    Clears the ecu.test high-level receive buffer. Low-level buffers in the driver are not cleared.

    CloseConnectionΒΆ

    Closes opened TCP connection and prevents reconnect

    ConnectionInfoΒΆ

    Provides IP address and port of connected network end point.

    Parameterization

    Return value

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    result

    string

    Tuple of IP address (str) and port (int) or NotPresent

    ReceivePacketΒΆ

    Returns a packet from the receive buffer and removes it from there

    Parameterization

    Return value

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    result

    string

    Return value as ByteStream or NotPresent

    ReceiveSomeIpMessageΒΆ

    Returns a packet from the receive buffer, interprets it and filters the MessageId if necessary. If MultipleResults are enabled, a list with more than one object might be returned. The packet will be removed from the receive buffer.

    Parameterization

    Parameter

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    InterpretAs

    β€˜PacketSomeIp’

    [β€˜PacketSomeIp’, β€˜PacketSomeIpSd’]

    string

    Specifies which class a package is to be interpreted by. A packet is only returned if it could be successfully interpreted.

    MessageId

    object

    MessageIds which have to match for passing (empty / int / list with ints)

    MultipleResults

    False

    [False, True]

    bool

    Boolean, if enabled a list with result objects will be returned

    Return value

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    result

    string

    Return value of specified type, list of it or NotPresent

    SendPacketΒΆ

    Send data

    Parameterization

    Parameter

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    Data

    string

    String, payload as a ByteStream

    StartAcceptingΒΆ

    Starts accepting TCP connections

    Parameterization

    Parameter

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    ListenPort

    30490

    int

    Port for incoming TCP connections

    StartSendPacketCyclicΒΆ

    Starts cyclic Transmission of a specified message

    Parameterization

    Parameter

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    CycleTime

    500

    int

    Cycle time [ms]

    CyclicHandle

    int

    CyclicHandle can be defined manually. It must be an integer value greater than 0. Collision detection against already defined handles will not be performed.

    Payload

    object

    Payload of the message to be sent cyclically. Either a byte stream can be specified directly or an object from a UserPyModule defined class. Further information on using the payload can be found in the help (Tool tracetronic: Ethernet).

    Return value

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    CyclicHandle

    int

    Handle for targeted deactivation of cyclic transmission of that particular message.

    StopSendPacketCyclicΒΆ

    Stops cyclic transmission

    Parameterization

    Parameter

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    CyclicHandle

    int

    Handle of a message to stop its cyclic transmission. If None is specified, cyclic transmission of all messages is stopped.

    2025-12-05
    Previous
    Port SERVICEACCESS - SERVICE πŸ›ˆ
    Next
    Port SERVICEACCESS - TCP-CLIENT-SOCKET πŸ›ˆ
    © Copyright 2025, tracetronic GmbH.
    Created using Sphinx 8.2.3. and Sphinx-Immaterial
    Logo of tracetronic GmbH
    legal notice privacy policy