gclib 2.0.9
Communications API for Galil controllers and PLCs
 
Loading...
Searching...
No Matches

◆ GPublishServer()

void GPublishServer ( string  server_name,
bool  publish,
bool  save 
)
inline

Publishes or removes local gcaps server from the network.

Parameters
server_nameName to publish server under.
publishTrue=publish server, False=remove server.
saveSave this configuration for future server reboots.
Exceptions
System.ExceptionWill throw an exception if anything other than G_NO_ERROR is received from gclib.

Definition at line 738 of file gclib.cs.

References G_NO_ERROR, GError(), and vector().

Referenced by Examples.Remote_Server().