CRaPI - Correct Robust and Perfect API

Player.Connect Method (String, Int32, Int32)

Connects the player to a RoboCup server

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

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

Return Value

true if connect was successful

Remarks

The default client version is set to 8.

See Also

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