Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on May 23rd, 2013  |  syntax: C#  |  size: 0.18 KB  |  views: 2,218  |  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. void StartServer() {
  2.         bool useNat = false;
  3.         if (LANOnly == true)
  4.                 useNat = false;
  5.         else
  6.                 useNat = !Network.HavePublicAddress();
  7.         Network.InitializeServer(16,25000,useNat);
  8. }