INtime Connector Device (or XCNT) is a virtual device driver for INtime Network7 TCP/IP stack. Another application can connect to the device to send and receive Ethernet frames to and from the INtime network stack.
The most common use of XCNT is to share a single NIC device with Network7 stack and HPE application (figure below), but XCNT can be used for other applications.

The connector device will appear as “xcntn” in the INtime Network where n is the instance number. For example, the first connector device will be “xcnt0”.
The following calls are implemented in the XCNT API, which is called from the user application to send and receive packets from the network stack.
|
xcntOpenConnector |
Establish a connection to the Connector Device |
|
xcntCloseConnector |
Close a connection to the device |
| xcntSendToConnector | Send an Ethernet frame to the device |
|
xcntReceiveFromConnector |
Receive an Ethernet frame from the device |
| xcntSetMediaStatus | Change the media status of the Connector Device |
Establish a connection to the Connector Device
#include <xcnt_api.h>
typedef void* XCNTHANDLE;
int xcntOpenConnector(
const char *cntName,
const BYTE *macAddr,
DWORD phyParams,
DWORD reserved,
DWORD timeoutMs,
XCNTHANDLE *pHandle
);
cntName
macAddr
phyParams
reserved
timeoutMs
pHandle
E_OK
E_PARAM
E_MEM
E_VMEM
E_TIME
Close a connection.
#include <xcnt_api.h> int xcntCloseConnector( XCNTHANDLE *pHandle );
pHandle
E_OK
E_PARAM
Send an Ethernet frame to the device.
#include <xcnt_api.h>
int xcntSendToConnector(
XCNTHANDLE handle,
const BYTE *pBuffer,
DWORD bufferLength
);
handle
pBuffer
bufferLength
E_OK
E_PARAM
E_STATE
EH_GENERAL_PROTECTION
Receive an Ethernet frame from the device.
#include <xcnt_api.h>
int xcntReceiveFromConnector(
XCNTHANDLE handle,
BYTE *pBuffer,
DWORD *pBufferLength,
DWORD timeoutMs
);
handle
pBuffer
pBufferLength
timeoutMs
E_OK
E_PARAM
E_TIME
E_CANCELED
E_EMPTY_ENTRY
EH_GENERAL_PROTECTION
Change the Media Status for the connector device.
#include <xcnt_api.h>
int xcntSetMediaStatus(
XCNTHANDLE handle,
DWORD phyParams
);
handle
phyParams
E_OK
E_PARAM
| Versions | Link to |
|---|---|
| INtime 4.2 | xcntif.lib |