| gclib 2.0.7 Communications API for Galil controllers and PLCs |

## ◆ GSetServer()

void GSetServer | ( | string | server_name | ) |

Connects gclib to a New gcaps server

Parameters

  server_name | Name of the server to connect.

Wrapper around gclib GSetServer(), Call GSetServer("Local") to connect gclib back to local gcaps server

Exceptions

  System.Exception | Will throw an exception if anything other than G_NO_ERROR Is received from gclib.