Open topic with navigation

TIBCO® Patterns 6.1.2

# Communicating with TIBCO Patterns Servers

In all of the examples so far the tables have been assumed to be local, that is within the same process. However, you are probably communicating with a TIBCO Patterns server process, in which case the host must be identified. This is done using the `host` parameter. The `host` parameter is always the first parameter of any function that must communicate with a TIBCO Patterns server. A host parameter of LPAR_NULL indicates the local process. To construct a host parameter for a remote TIBCO Patterns server, use:

    lpar_t lkt_host_lpar( const char *address, int port );

The input address identifies the machine on which the server is running. It can be a network (IP) address, or a network (DNS) name.

The port identifies the port the server is listening on.

The output returns an lpar that holds the host information. It can be used in any lkt function that requires a host parameter.

Did you find this helpful?

Yes No
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO® Patterns

Copyright © 2010-2025. Cloud Software Group, Inc. All Rights Reserved.