YoushouldhavereceivedacopyoftheGNUGeneralPublicLicense alongwiththisprogram;ifnot,writetotheFreeSoftware Foundation,Inc.,51FranklinStreet,FifthFloor,Boston,MA02110-1335USA
*/ #pragma once
#include <WinSock2.h> #include <windows.h>
struct st_vio;
struct win_aiosocket
{ /** OVERLAPPED is needed by all Windows AIO*/
OVERLAPPED m_overlapped{}; /** Handle to pipe, or socket */
HANDLE m_handle{}; /** Whether the m_handle refers to pipe*/ bool m_is_pipe{};
/* Read buffer handling */
/** Pointer to buffer of size READ_BUFSIZ. Can be NULL.*/ char *m_buf_ptr{}; /** Offset to current buffer position*/
size_t m_buf_off{}; /** Size of valid data in the buffer*/
size_t m_buf_datalen{};
/* Vio handling */ /** Pointer to original vio->vio_read/vio->has_data function */
size_t (*m_orig_vio_read)(st_vio *, unsignedchar *, size_t){}; char (*m_orig_vio_has_data)(st_vio *){};
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.