WSIsLinkLoopback (C Function)

int WSIsLinkLoopback( WSLINK l )

queries the WSTP connection given by l to see if the link is a loopback link.


  • WSIsLinkLoopback() returns 1 if l is a loopback link and 0 otherwise.
  • WSIsLinkLoopback() is declared in the WSTP header file wstp.h.


Basic Examples  (1)

#include "wstp.h"

/* A function to close just loopback links */

void f(WSLINK l)