# IPC communication between different apps

**URL:** <https://forum.legato.io/t/ipc-communication-between-different-apps/6998>\
**Category:** Legato Application Framework\
**Created:** [February 4, 2026, 12:55pm UTC](https://forum.legato.io/t/ipc-communication-between-different-apps/6998 "2026-02-04T12:55:42Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)\
**Post date:** [February 4, 2026, 2:56pm UTC](https://forum.legato.io/t/ipc-communication-between-different-apps/6998/6 "2026-02-04T14:56:11Z")

</div>

How about this for client to server communication?

> [@Returning STRUCT from .api](https://forum.legato.io/t/returning-struct-from-api/6644/3):
>
> I have written a sample application for you, it is not returning the STRUCT, but it can return the required value in the parameter. [IPC\_step1\_api\_test.7z](https://forum.legato.io/uploads/short-url/nsDrojBBidshpQkuHnTsnq5AigZ.7z) (2.1 KB)

How about this for server to client communication?

> [@Cannot get callback between components (IPC) to work properly](https://forum.legato.io/t/cannot-get-callback-between-components-ipc-to-work-properly/4653/5):
>
> Here is an example to return STRUCT inside handler: You can see if it can be ported to your existing application. On the other hand, you can do another IPC call inside the handler to get the required data. Please see this sample application: [IPC\_step4\_payload\_test.7z](https://forum.legato.io/uploads/short-url/i7Rcvb2YVwwfUrcJSbeN4LzZPO6.7z) (3.0 KB)

Btw, in you code, secStoreKey is a input, so the IPC client should first read the file content and pass it to IPC server by the function arraySend()

Or you can set it to output, so the IPC server can first read the file content and pass it to IPC client when client calls the the function arraySend()

---

_[View the full topic](https://forum.legato.io/t/ipc-communication-between-different-apps/6998)._
