Lines Matching full:socket
43 * \brief <b>Get the local options of a socket</b>.
46 * for a given connection-oriented socket. This function shall not be used with connectionless
50 * \param[in] psLocalOptions A pointer to be filled with the local options of the socket.
55 * \retval NFCSTATUS_INVALID_STATE The socket is not in a valid state, or not of
66 * \brief <b>Get the local options of a socket</b>.
69 * for a given connection-oriented socket. This function shall not be used with connectionless
73 * \param[in] psRemoteOptions A pointer to be filled with the remote options of the socket.
78 * \retval NFCSTATUS_INVALID_STATE The socket is not in a valid state, or not of
89 * \brief <b>Close a socket on a LLCP-connected device</b>.
91 * This function closes a LLCP socket previously created using phFriNfc_LlcpTransport_Socket.
92 * If the socket was connected, it is first disconnected, and then closed.
105 * \brief <b>Listen for incoming connection requests on a socket</b>.
107 * This function switches a socket into a listening state and registers a callback on
108 * incoming connection requests. In this state, the socket is not able to communicate
110 * which are still not connected. The socket keeps listening until it is closed, and
116 * socket receive a connection request.
123 * \retval NFCSTATUS_INVALID_STATE The socket is not in a valid state to switch
134 * \brief <b>Accept an incoming connection request for a socket</b>.
137 * It must be used with the socket provided within the listen callback. The socket
141 * \param[in] psOptions The options to be used with the socket.
143 * \param[in] pErr_Cb The callback to be called each time the accepted socket
165 * \brief <b>Reject an incoming connection request for a socket</b>.
168 * It must be used with the socket provided within the listen callback. The socket
186 * \brief <b>Try to establish connection with a socket on a remote SAP</b>.
189 * socket is not bound to a local SAP, it is implicitly bound to a free SAP.
204 * \retval NFCSTATUS_INVALID_STATE The socket is not in a valid state, or not of
216 * \brief <b>Disconnect a currently connected socket</b>.
218 * This function initiates the disconnection of a previously connected socket.
231 * \retval NFCSTATUS_INVALID_STATE The socket is not in a valid state, or not of
243 * \brief <b>Send data on a socket</b>.
245 * This function is used to write data on a socket. This function
246 * can only be called on a connection-oriented socket which is already
262 * \retval NFCSTATUS_INVALID_STATE The socket is not in a valid state, or not of
273 * \brief <b>Read data on a socket</b>.
275 * This function is used to read data from a socket. It reads at most the
279 * can only be called on a connection-oriented socket.
294 * \retval NFCSTATUS_INVALID_STATE The socket is not in a valid state, or not of