gclib  2.0.8
Communications API for Galil controllers and PLCs

◆ remote_server()

GReturn remote_server ( const char *  server_name)

Publishes local gcaps server to the network.

Parameters
Nameto publish server under.
Returns
The success status or error code of the function. See gclib_errors.h for possible values.

See remote_server_example for an example.

Key Usage
q Quit
p Publish this server to the network
r Remove this server from the network

Definition at line 39 of file remote_server.cpp.

References e(), G_SMALL_BUFFER, and GPublishServer().