StopSocketServer Method - intrepidcs API
C/C++ declare -
VB declare -
VB.NET declare -
C# declare - Parameters - Return
Values - Remarks - C/C++ example
- VB example
- VB.NET example
- C# example
This method stops the TCP/IP socket server.
int _stdcall icsneoStopSockServer(int hObject);
Public Declare
Function icsneoStopSockServer Lib "icsneo40.dll" (ByVal hObject
As Long) As Long
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
Call icsneoStopSockServer(m_hObject) '// stop the socket server
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-2012 Intrepid Control Systems, Inc. (www.intrepidcs.com) |
Last Updated : Wednesday, September 17, 2008