INTRODUCTION Overview Download and Install Documentation Publications REPOSITORY Libraries DEVELOPER Dev Guide Dashboard PEOPLE Contributors Users Project Download Mailing lists
|
tcpport.h 11 * This work is a product of the National Institute of Advanced Industrial Science and Technology,
16 * flexiport is free software: you can redistribute it and/or modify it under the terms of the GNU
17 * Lesser General Public License as published by the Free Software Foundation, either version 3 of
ssize_t Read(void *const buffer, size_t count) Read from the port. Definition tcpport.cpp:206 void SetCanWrite(bool canWrite) Set the write permissions of the port. Definition tcpport.cpp:537 void Flush() Flush the port's input and output buffers, discarding all data. Definition tcpport.cpp:472 void SetCanRead(bool canRead) Set the read permissions of the port. Definition tcpport.cpp:532 ssize_t ReadFull(void *const buffer, size_t count) Read the requested quantity of data from the port. Definition tcpport.cpp:282 void Drain() Drain the port's input and output buffers. Definition tcpport.cpp:503 ssize_t BytesAvailable() Get the number of bytes waiting to be read at the port. Returns immediatly. Definition tcpport.cpp:349 void SetTimeout(Timeout timeout) Set the timeout value in milliseconds. Definition tcpport.cpp:526 std::string GetStatus() const Get the status of the port (type, device, etc). Definition tcpport.cpp:514 ssize_t BytesAvailableWait() Get the number of bytes waiting after blocking for the timeout. Definition tcpport.cpp:380 ssize_t Write(const void *const buffer, size_t count) Write data to the port. Definition tcpport.cpp:427 FlexiPort data communications library. |