connectToServer

ClientSocketInterface::connectToServer

Connects the client to a server.

Declaration

virtual void connectToServer(const std::string& ipAddress, uint16_t port) = 0;

Parameters

Name

Type

Description

ipAddress

const std::string&

The IP address of the server to connect to.

port

uint16_t

The port of the server to connect to.

Returns

None.