Skip to content

Instantly share code, notes, and snippets.

@BrentFarris
Last active August 29, 2015 14:13
Show Gist options
  • Save BrentFarris/32f94eb961feeb6b0b53 to your computer and use it in GitHub Desktop.
Save BrentFarris/32f94eb961feeb6b0b53 to your computer and use it in GitHub Desktop.
Forge Networking Sample: Connecting to Server
// Arguments:
// string <IP_ADDRESS>
// ushort <PORT_NUMBER>
// Networking.TransportationProtocolType <PROTOCOL_TYPE>
// optional bool <IS_WIN_RT> [default false]
Networking.Connect("127.0.0.1", 15937, Networking.TransportationProtocolType.UDP, true);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment