
ioLogik MXIO DLL API Reference System Commands Sets
4-4
Ethernet I/O Connect Commands
MXEIO_Init
Initiate the socket, only for windows OS.
C/C++
Arguments
Return Value
int MXEIO_Init ();
None
Succeed MXIO_OK.
Fail Refer to Return Codes.
MXEIO_Exit
To terminates use of the socket, only for windows OS.
C/C++
Arguments
Return Value
int MXEIO_Exit ();
None
None.
MXEIO_Connect
This function establishes a connection to the port of the Ethernet
I/O. Once a connection is established, a handle will be
returned for additional functions.
C/C++
Arguments
Return Value
int MXEIO_Connect ( char *szIP,
WORD wPort,
DWORD dwTimeOut,
int * hConnection);
szIP: IP address of the Ethernet I/O to be
connected.
wPort: TCP port number of Ethernet I/O.
Please use 502 for the ioLogik 4000 and
E2000.
dwTimeOut: Timeout value in milliseconds for
establishing a network connection with th
ioLogik Ethernet adapter.
hConnection: Handle of the I/O device connection.
Succeed MXIO_OK.
Fail Refer
oRe
u
nCodes.
Comentarios a estos manuales