Closing the Connection to STK

The AgConCloseSTK() function is used to close the connection to STK:

int
AgConCloseSTK (
char **context
);

The context argument was previously initialized during connection to STK; it is specific to a given connection. Other connections aren't affected by the call to AgConCloseSTK().

Also, see the Connect Example File.

STK 11.2.1 Programming Interface