DSRemoteConnect C++ Library 1.1.3.24 Remote connection library for Dewesoft measurement applications

Loading...
Searching...
No Matches
Connection Setup Guide

# DCOM Connection Setup

For DCOM connections (local or remote Windows):

DSXInstanceHandle instance;
dsconCreateInstance(&instance, DSX_CONNECTION_TYPE_DCOM);
// Local connection
dsconConnect(instance, "");
// Remote connection (if configured)
dsconConnect(instance, "remote_machine_name");
DSX_CONNECTION_TYPE_DCOM
@ DSX_CONNECTION_TYPE_DCOM
DCOM connection for local/remote Windows applications.
Definition ConstsAndTypeDefs_Documented.h:120
DSXInstanceHandle
DSXInstance * DSXInstanceHandle
Handle to a DSX instance for connection management.
Definition DSRemoteConnect_Documented.h:150
dsconCreateInstance
DSREMOTECONNECT_API int dsconCreateInstance(DSXInstanceHandle *handle, int connectionType)
Create a new DSX instance.
dsconConnect
DSREMOTECONNECT_API int dsconConnect(DSXInstanceHandle handle, char *connectionString)
Connect to a Dewesoft application.

# Network Connection Setup

For NET connections (TCP/IP):

DSXInstanceHandle instance;
dsconCreateInstance(&instance, DSX_CONNECTION_TYPE_NET);
// Connect using hostname:telnet_port:data_port format
dsconConnect(instance, "localhost:8999:8001");
dsconConnect(instance, "192.168.1.100:8999:8001");
DSX_CONNECTION_TYPE_NET
@ DSX_CONNECTION_TYPE_NET
Network connection using TCP/IP protocols.
Definition ConstsAndTypeDefs_Documented.h:123

## Network Port Configuration

- Telnet Port (default 8999): Used for command and control
- Data Port (default 8001): Used for high-speed data transfer
- Ensure Dewesoft NET server is enabled and ports are accessible
- Check firewall settings for the specified ports