Changeset 74 in flair-dev for trunk/include/FlairCore/ConnectedSocket.h
- Timestamp:
- 05/24/18 11:46:38 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/FlairCore/ConnectedSocket.h
r25 r74 53 53 * \brief Returns a socket on a new incoming connexion 54 54 * 55 * \param ConnectedSocket &listeningSocket55 * \param timeout timeout (in nanoseconds) 56 56 */ 57 57 virtual ConnectedSocket *Accept( … … 65 65 * \param unsigned int port 66 66 * \param const distantAddress 67 * \param timeout timeout (in milliseconds)67 * \param timeout timeout (in nanoseconds) 68 68 */ 69 69 virtual bool Connect(const unsigned int port, … … 71 71 72 72 /*! 73 * \brief Send a message 73 * \brief Send a message waiting up to timeout ns 74 74 * 75 75 * \param message message 76 76 * \param message_len message length 77 * \param timeout timeout (in milliseconds)77 * \param timeout timeout (in nanoseconds) 78 78 */ 79 79 virtual ssize_t SendMessage(const char *message, size_t message_len, … … 83 83 * \brief Receive a message 84 84 * 85 * Receive a message and wait up to timeout . \n85 * Receive a message and wait up to timeout ns. \n 86 86 * 87 87 * \param buf buffer to put the message 88 88 * \param buf_len buffer length 89 * \param timeout timeout (in milliseconds)89 * \param timeout timeout (in nanoseconds) 90 90 * 91 91 * \return size of the received message
Note:
See TracChangeset
for help on using the changeset viewer.