For the complete documentation index, see llms.txt. This page is also available as Markdown.

StopSocketServer Method - neoVI API

This method starts the TCP/IP socket server at a specified port.

int _stdcall icsneoStopSockServer(int hObject);
Public Declare Function icsneoStopSockServer Lib “icsneo40.dll” (ByVal hObject As Integer) As Integer
[DllImport(icsneo40.dll)] public static extern int icsneoStopSockServer(int hObject);

Parameters

hObject

[in] Handle to the driver object created by OpenNeoDevice

Return Values

If the server has been stopped successfully the return value will be 1. If the function fails the return value will be zero.

Remarks

This method should be called when the server created with StartSocketServer.

Examples

icsneoStopSockServer(hObject);
bStatus = icsneoStopSockServer(m_hObject) '// stop the socket server
iStatus = icsNeoDll.icsneoStopSockServer(m_hObject); // stop the socket server

Last updated