Want more features on Pastebin? Sign Up, it's FREE!
Guest

main.c

By: a guest on Dec 6th, 2011  |  syntax: C  |  size: 0.26 KB  |  views: 40  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. #include <Windows.h>
  2. #include <WinSock2.h>
  3. #include <stdio.h>
  4. #include "myLib.h"
  5.  
  6. WSADATA                 wsaData;
  7.  
  8. const int PORT = 4444;
  9.  
  10. main()
  11. {
  12.         // Initialize Winshock 2.2
  13.         WSAStartup(MAKEWORD(2,2),&wsaData);
  14.  
  15.         // Start Server
  16.         start_server(PORT);
  17.        
  18.  
  19.  
  20.  
  21.  
  22.  
  23. }
  24.  
clone this paste RAW Paste Data