Go to the SVN repository for this file.
59unique_ptr<CSocket> s(
new CSocket());
73 if(!
m_Sock)
return false;
75 if(!
m_Sock)
return false;
static const char * str(char *buf, int n)
@ eTakeOwnership
An object can take ownership of another.
@ eNoOwnership
No ownership is assumed.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
EOwnership SetOwnership(EOwnership if_to_own)
Specify if this "CSocket" is to own the underlying "SOCK".
SOCK GetSOCK(void) const
Access to the underlying "SOCK".
void Reset(SOCK sock, EOwnership if_to_own, ECopyTimeout whence)
Close the current underlying "SOCK" (if any, and if owned), and from now on use "sock" as the underly...
EIO_Status GetStatus(EIO_Event direction) const
Return status of *last* I/O operation without making any actual I/O.
EIO_Status Write(const void *buf, size_t size, size_t *n_written=0, EIO_WriteMethod how=eIO_WritePersist)
Write to socket.
virtual void Send(const char *msg, size_t length)
Send message.
CServer_Monitor()
Server monitor.
void SendString(const string &str)
void SetSocket(CSocket &socket)
Pass open socket for monitor output.
void SendMessage(const char *msg, size_t length)
virtual bool IsActive()
Check if monitoring is active.
virtual ~CServer_Monitor()
@ eIO_Success
everything is fine, no error occurred
@ eIO_Open
also serves as no-event indicator in SOCK_Poll
static SLJIT_INLINE sljit_ins st(sljit_gpr r, sljit_s32 d, sljit_gpr x, sljit_gpr b)
static SLJIT_INLINE sljit_ins msg(sljit_gpr r, sljit_s32 d, sljit_gpr x, sljit_gpr b)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4