Previous Up Next

5.7  Obtaining the Interface Type

Generally, the Tcl embedded and remote interfaces are designed to allow the user to write code that can be used via both interfaces. However, sometimes it may be necessary to distinguish the two. This can be done via:
ec_interface_type

returns embedded for the embedding interface, and remote for the remote interface.

Previous Up Next