added qse_setscknonblock(), qse_initsckconn(), qse_finisckconn()

This commit is contained in:
2015-12-31 15:15:44 +00:00
parent 07f4118d5d
commit 6353bbfc15
3 changed files with 162 additions and 54 deletions

View File

@ -30,6 +30,7 @@
#include <qse/types.h>
#include <qse/macros.h>
#include <qse/cmn/nwad.h>
#if defined(_WIN32)
typedef qse_uintptr_t qse_sck_hnd_t;
@ -87,6 +88,20 @@ QSE_EXPORT void qse_shutsckhnd (
qse_shutsckhnd_how_t how
);
QSE_EXPORT int qse_setscknonblock (
qse_sck_hnd_t handle,
int enabled
);
QSE_EXPORT int qse_initsckconn (
qse_sck_hnd_t handle,
const qse_nwad_t* nwad
);
QSE_EXPORT int qse_finisckconn (
qse_sck_hnd_t handle
);
#if defined(__cplusplus)
}
#endif