CRaPI - Correct Robust and Perfect API

Player.Connect Method (String, Int32, Int32, Int32)

Connects the player to a RoboCup server

public bool Connect(
   string pHost,
   int pPort,
   int pTimeOut,
   int pClientVersion
);

Parameters

pHost
The url or ip of the host
pPort
The port to connect to on the host
pTimeOut
The time before a receive command time outs
pClientVersion
The version of the client.

Return Value

true if connect was successful

See Also

Player Class | TeamYaffa.CRaPI Namespace | Player.Connect Overload List