
ioLogik MXIO DLL API Reference System Commands Sets
4-5
MXEIO_Disconnect
This will close the connection with the Ethernet I/O; the handle
will be invalid.
C/C++
Arguments
Return Value
int MXEIO_Disconnect (int hConnection);
hConnection: Handle of the connection.
Succeed MXIO_OK.
Fail Refer to Return Codes.
MXEIO_CheckConnection
This establishes a connection to the port of the Ethernet I/O. Once
the connection is established, a handle will be returned for
additional functions.
C/C++
Arguments
Return Value
int MXEIO_CheckConnection( inth Connection,
DWORD dwTimeOut,
BYTE *bytStatus);
hConnection: Handle of the I/O connection.
dwTimeOut: Timeout value in milliseconds for network
connection.
bytStatus Connection status.
0: Check connection ok.
1: Check connection fail.
2: Check connection timeout.
Succeed MXIO_OK.
Fail Refer
oRe
u
nCodes.
General Commands
MXIO_GetDllVersion
This will get the DLL version.
C/C++
Arguments
Return Value
int MXIO_GetDllVersion ();
None
Succeed The DLL version. Version 2.0.0.0 is
expressed as value 0x2000.
MXIO_GetDllBuildDate
This will get the DLL release date.
C/C++
Arguments
Return Value
int MXIO_GetDllBuildDate();
None
Succeed Return the DLL release date. If the
value is 0x20071001, then the date is
2007/10/01.
Comentarios a estos manuales