| gclib 1.34.15 Communications API for Galil controllers and PLCs |

## ◆ message()

GReturn message | ( | GCon | g | ) |

Demonstrates how to receive messages from the controller and detect differences in Trace and crashed code.

Parameters

  g | Connection's handle.

Returns
  The success status or error code of the function. See gclib_errors.h for possible values.

See message_example.cpp for an example.

Definition at line 14 of file message.cpp.

References e(), G_NO_ERROR, G_SMALL_BUFFER, G_UTIL_GCAPS_KEEPALIVE, GCmd(), GMessage(), GProgramDownload(), and GUtility().

Referenced by Examples::Message().