Skip to content

Instantly share code, notes, and snippets.

@CalebWhiting
Created June 5, 2016 22:45
Show Gist options
  • Save CalebWhiting/89fc4c13b2b6a33fd9c54fe3442b8330 to your computer and use it in GitHub Desktop.
Save CalebWhiting/89fc4c13b2b6a33fd9c54fe3442b8330 to your computer and use it in GitHub Desktop.
#include <stdio.h>
#include <iostream>
#include <winsock2.h>
using namespace std;
#pragma comment(lib,"ws2_32.lib")
int main() {
cout << "Starting Application\n";
socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);
cout << "Ending Application\n";
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment