Skip to content

Instantly share code, notes, and snippets.

View thatskriptkid's full-sized avatar
🤢
Happy life and happy bytes

Thatskriptkid thatskriptkid

🤢
Happy life and happy bytes
View GitHub Profile
@joeyadams
joeyadams / connectex-bind.cpp
Created November 28, 2012 04:07
Working ConnectEx example
#include <stdio.h>
#include <WinSock2.h>
#include <MSWSock.h>
#include <WS2tcpip.h>
#pragma comment(lib, "Ws2_32.lib")
struct mswsock_s {
LPFN_CONNECTEX ConnectEx;
} mswsock;