netorcai-client ~master (2022-01-13T09:55:13.4843539)
Dub
Repo
Client.connect
netorcai
client
Client
Connect to a remote endpoint. Throw Exception on error.
class
Client
void
connect
(
in
string
hostname
= "localhost"
,
in
ushort
port
= 4242
)
Meta
Source
See Implementation
netorcai
client
Client
constructors
this
destructors
~this
functions
close
connect
readDoInit
readDoTurn
readGameEnds
readGameStarts
readLoginAck
readTurn
recvJson
recvString
sendDoInitAck
sendDoTurnAck
sendJson
sendLogin
sendString
sendTurnAck
Connect to a remote endpoint. Throw Exception on error.