Skip to main content
Open topic with navigation CAPL Functions » TCP/IP API » Socket Options

Socket Options

Valid for: CANoe DE • CANoe4SW DE This section describes the socket options which are applicable in the CAPL interface of CANoe. There are some differences in the socket options depending on the TCP/IP stack selection of the simulation node. If the CANoe DE product internal or individual node network stack is selected all socket options marked with C are applicable.
If the TCP/IP stack of the operating system is selected, all socket options marked with a W are applicable.
The socket options are grouped to different socket option levels. The following levels are available:
  • IPPROTO_IP
    • Socket options for the IPv4 protocol level.
  • IPPROTO_TCP
    • Socket options for the TCP protocol level.
  • IPPROTO_UDP
    • Socket options for the UDP protocol level.
  • IPPROTO_IPV6
    • Socket options for the IPv6 protocol level.
  • SOL_SOCKET
    • Socket options applicable at socket level.
  • SOL_VECTOR
    • Special socket option. Only available if the CANoe DE product global or node network stack is used.