Added local-only auto-authorize for API
This commit is contained in:
parent
5e2b29466b
commit
a82be2775f
3 changed files with 43 additions and 6 deletions
|
@ -82,6 +82,7 @@ namespace Socket{
|
|||
std::string getError(); ///< Returns a string describing the last error that occured.
|
||||
bool connected() const; ///< Returns the connected-state for this socket.
|
||||
bool isAddress(std::string addr);
|
||||
bool isLocal(); ///< Returns true if remote address is a local address.
|
||||
// buffered i/o methods
|
||||
bool spool(); ///< Updates the downbufferinternal variables.
|
||||
bool peek(); ///< Clears the downbuffer and fills it with peek
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue