Skip to content

Instantly share code, notes, and snippets.

@Eugeny
Created June 18, 2010 15:26
Show Gist options
  • Save Eugeny/443776 to your computer and use it in GitHub Desktop.
Save Eugeny/443776 to your computer and use it in GitHub Desktop.
Inner = new Sockets.Socket(Sockets.AddressFamily.InterNetwork, Sockets.SocketType.Stream, Sockets.ProtocolType.Tcp);
Inner.ExclusiveAddressUse = false;
Inner.Blocking = true;
Inner.Bind(new IPEndPoint(addr, port));
Inner.Listen(10);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment