SmartFTP FTP Library
IIdentServer Interface
IIdentServer
IDL
interface IIdentServer : IDispatch;

This is a simple ident server as defined in RFC 1413.

C++

// Import SmartFTP FTP Library
#import "libid:7A3A786C-EB8C-43b3-BC10-8D09ACF5D195" version("1.5")

sfFTPLib::IIdentServerPtr pServer;
if(SUCCEEDED(pServer.CreateInstance(__uuidof(sfFTPLib::IdentServer))))
{
  // init ident server
  pServer->User = L"test@test.com";
  pServer->System = L"UNIX";

  // starts ident server and increases ref count
  pServer->Start();
  // decreases ref count and stops ident server if 0
  pServer->Stop();
  // terminates internal thread.
  pServer->Quit();
}
IIdentServer Methods 
Description 
Quit 
Stops the ident server and terminates the internal thread. 
Starts ident server. 
Stop 
Stops ident server. 
IIdentServer Properties 
Description 
Port 
Specifies the port number of the ident server. 
Specifies the system value which is returned to clients. 
Specifies the timeout value in seconds.
Default: 30 seconds 
User 
Specifies the user which is returned to clients. 
What do you think about this topic? Send feedback!
Copyright (c) by SmartSoft Ltd. All rights reserved.