CS104_Connection_create

Function CS104_Connection_create 

Source
pub unsafe extern "C" fn CS104_Connection_create(
    hostname: *const c_char,
    tcpPort: c_int,
) -> CS104_Connection
Expand description

Create a new connection object

§Arguments

  • hostname - host name of IP address of the server to connect
  • tcpPort - tcp port of the server to connect. If set to -1 use default port (2404)

§Returns

the new connection object