C API for BALTECH SDK

§ brp_create_tcpip()

BRP_LIB brp_protocol brp_create_tcpip ( char *  ipaddr)

Creates a TCP/IP protocol from an IP address.

On opening this protocol, it will connect to the given IP address.

Returns
a protocol, that can be used for sessions or NULL, if out of memory.
Parameters
ipaddrIP address to connect to. May have an optional port number 'ppp' if BRP_DEFAULT_TCP_PORT is not appropriate: xx.xx.xx.xx:ppp