Blacklist Client Example for C++

HRESULT BlacklistClient(IltmsServer* server, LPCTSTR ip) 
{ 
   HRESULT hr; 
 
   // disconnect the client at the specified IP address and deny any future connections by creating an IP filter 
   hr = server->Disconnect(CComBSTR(ip), VARIANT_TRUE); 
   if(FAILED(hr)) 
      goto error; 
 
error: 
   return hr; 
} 
Help Version 20.0.2019.3.12
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Media Streaming C API Help