Prg_Ipc_Packet_Send()

Abstract

Sends data to another running program.

Syntax

Prg_Ipc_Packet_Send (port_handle, buf_ptr, buf_len)
Argument Type Description
port_handle PrgT_Ipc_Port_Handle PRG Ipc port on which to send the data
buf_ptr void* data buffer where the data to be sent resides
buf_len int length of the data to be sent (in bytes)

Return Type

PrgT_Compcode

Return PrgC_Compcode_Success on success, PrgC_Compcode_Failure if failed

prg_ipc.h

Details

Send data through IPC to another running program. The two programs must have established two-way communication through Prg_Ipc_Port_Create_Listen() and Prg_Ipc_Port_Connect_To(). Sending data through this function will cause the receiving end's IPC port handler to be called, with a port_status of PrgC_Ipc_Port_Status_Incoming_Data.

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · Documentation compiled and provided by Beijing ZNetLink Technology Co., Ltd.

交流群 · QQ Group:OPNET/智网妙算网络仿真交流群(群号 486383494)

原文档 © 2017 Riverbed Technology · 本站为公益翻译,由 AI 辅助完成,请仔细甄别

Original documentation © 2017 Riverbed Technology. Community translation, AI-assisted. Contact: jiazequn@znetlink.com