DEENESPTFRRUARHIKOZHNL
CLASSIC Modul: tcpip Rolle: constitutive Konfidenz: 95%

SNIP_CLASSIC_TCPIP_SECTION_8_4_2_3_TcpIp_TcpConnect

Quelle: SWS_TcpIp.pdf (Seite 86) • Ziel-Anforderung: SWS_TcpIp_00129

Wortlaut

8.4.2.3 TcpIp_TcpConnect [SWS_TCPIP_00022] Definition of API function TcpIp_TcpConnect ⌈ Service Name TcpIp_TcpConnect Syntax Std_ReturnType TcpIp_TcpConnect ( TcpIp_SocketIdType SocketId, const TcpIp_SockAddrType* RemoteAddrPtr ) Service ID [hex] 0x06 Sync/Async Asynchronous Reentrancy Reentrant for different SocketIds. Non reentrant for the same SocketId. SocketId Socket identifier of the related local socket resource. Parameters (in) RemoteAddrPtr IP address and port of the remote host to connect to. Parameters (inout) None Parameters (out) None Return value Std_ReturnType E_OK: The request has been accepted E_NOT_OK: The request has not been accepted, e.g. connection is already established or no route to destination specified by remoteAddrPtr found. Description By this API service the TCP/IP stack is requested to establish a TCP connection to the configured peer. Available via TcpIp.h ⌋ [SWS_TcpIp_00112] ⌈The service TcpIp_TcpConnect() shall establish a TCP connection between the local socket specified by parameter SocketId and the remote socket specified with parameter RemoteAddrPtr.⌋ [SWS_TcpIp_00129] ⌈If development error detection is enabled and the parameter RemoteAddrPtr equals NULL_PTR, the TcpIp_TcpConnect() function shall raise the development error code TCPIP_E_PARAM_POINTER.⌋

Versionen & Provenienz · Zugeordnete Anforderungen

Diese Angaben zeigt der Versions-Explorer.

Begründung & Zuweisungs-Evidenz

Cited verbatim in the snippet (deterministic citation).

Dokumenten-Herkunft & Rückverfolgbarkeit

Spezifikations-Dokument SWS_TcpIp.pdf
Dokumentseite Seite 86
Ziel-Modul tcpip (classic)
Ziel-Anforderung SWS_TcpIp_00129
Semantische Rolle constitutive
Automatisierungs-Konfidenz 0.95