StopSocketServer Method - intrepidcs API
C/C++ declare -
VB.NET declare -
C# declare - Parameters - Return
Values - Remarks - C/C++ example
- VB.NET example
- C# example
This method stops the TCP/IP socket server.
int _stdcall icsneoStopSockServer(int hObject);
Visual Basic .NET Declare
Public
Declare Function
icsneoStopSockServer Lib
"icsneo40.dll" (ByVal
hObject As Integer)
As Integer
C# Declare
[DllImport("icsneo40.dll")]
public static
extern int
icsneoStopSockServer(int
hObject);
Parameters
hObject
[in] Handle to the driver object created by OpenNeoDevice.
If the server has been stopped successfully the return value will be 1. If the function fails the return value will be zero.
This method should be called when the server created with StartSocketServer.
Examples
icsneoStopSockServer(hObject);
Visual Basic .NET Example
bStatus =
icsneoStopSockServer(m_hObject) '// stop
the socket server
C# Example
iStatus =
icsNeoDll.icsneoStopSockServer(m_hObject); //
stop the socket server
IntrepidCS API Documentation - (C) Copyright 2000-2022 Intrepid Control Systems, Inc. (www.intrepidcs.com) |
Last Updated : Monday, April 22, 2019