FreeRTOS:
Secure Sockets
|
Return to main page ↑ |
Connects the socket to the specified IP address and port.
The socket must first have been successfully created by a call to SOCKETS_Socket().
If this function returns an error the socket is considered invalid.
See the Berkeley Sockets API in wikipedia
[in] | xSocket | The handle of the socket to be connected. |
[in] | pxAddress | A pointer to a SocketsSockaddr_t structure that contains the the address to connect the socket to. |
[in] | xAddressLength | Should be set to sizeof( SocketsSockaddr_t ). |