Back to product page

Stop method


Stops listening for connections.

Syntax

  • C#
  • C++
  • VB.NET
void devP2P.Stop(IntPtr Handle);
The Stop(Handle) syntax has these parts:
HandleReference to the devP2P instance.

void Stop(void);

Sub P2P_Stop(ByVal Handle As IntPtr)
The Stop(Handle) syntax has these parts:
HandleReference to the devP2P instance.

Remarks

Stop method will stop all activity of devP2P. It will disconnect remote peer (if connected), and will stop listening and accepting further connections. At this point you can change devP2P's properties and it's behavior (such as change password or MyName) and Start it again.

Platforms

Windows
Mac OSX
Linux
BSD