담과 같은 php로 큐에 데이터를 입력하면
$arr=array();
$arr["mtype"]=1;
$arr["processName"]="httpd";
$arr["logTime"]=strftime("%Y%m%d%H%M%S",time());
$result=msg_send($msg_key,1,$arr,true,false,$error_code);
echo "msg_key=".$msg_key." msg_send result=".$result."<br>";
C에서는 담과 같은 구조체로 데이터를 받습니다.
[code:1]typedef struct
{
long mtype; //필수구현
union