Hi,
I have understood the solution of this problem.
You should use function "vRecv3()" instead of "vRecv()"
like follow.
%ret=vRecv3($IF,5,0,0,_echo_request);
Best Regards,
On Thu, 19 May 2005 18:14:05 +0800
"Wei Dong" <weid@nanjing-fnst.com> wrote:
> Dear Sir:
> Thanks for you help.Here is my ping4.rmt scritps.
>
> ----- Original Message -----
> From: "enokihara hideshi" <Hideshi.Enokihara@jp.yokogawa.com>
> To: <weid@nanjing-fnst.com>
> Cc: <contact@tahi.org>; <users@tahi.org>
> Sent: Thursday, May 19, 2005 4:24 PM
> Subject: Re: [contact:18133] Re: [users:00020] Re: HELP:about Payload.data
>
>
> > Hi,
> >
> > Thank you for your sending the log.
> > I want to get ping4.rmt too.
> > Please send the ping4.rmt file.
> >
> > #I have one suggestion.
> > You use "vRecv()" in your program.
> > How about use "vRecv3()" function instead of "vRecv()"?
> >
> > Best Regards,
> >
> > On Thu, 19 May 2005 15:55:14 +0900
> > "Wei Dong" <weid@nanjing-fnst.com> wrote:
> >
> >> [contact:18133] Re: [users:00020] Re: HELP:about Payload.data
> >>
> >> Hello,sir:
> >> Thank you for your help! Here is my scripts.
> >>
> >> ----- Original Message -----
> >> From: "enokihara hideshi" <Hideshi.Enokihara@jp.yokogawa.com>
> >> To: <weid@nanjing-fnst.com>
> >> Cc: <contact@tahi.org>; <users@tahi.org>
> >> Sent: Thursday, May 19, 2005 10:14 AM
> >> Subject: [users:00020] Re: [contact:18095] HELP:about Payload.data
> >>
> >>
> >> > Hi,
> >> >
> >> > I think your code is correct.
> >> > So I want to check your test log.
> >> > Please send the test log.
> >> >
> >> > Best Regards,
> >> >
> >> > On Wed, 18 May 2005 17:33:11 +0800
> >> > "Wei Dong" <weid@nanjing-fnst.com> wrote:
> >> >
> >> >> Hello,sir
> >> >> When i use tahi to test ipv4,and i met a problem.When NUT send echorequest message to TN,TN need to know the Identifier,SequenceNumber,and data which is in Payload.Part of my scripts is:
> >> >> $PING_ID = $ret{'Frame_Ether.Packet_IPv4.ICMPv4_EchoRequest.Identifier'};
> >> >> $PING_SN = $ret{'Frame_Ether.Packet_IPv4.ICMPv4_EchoRequest.SequenceNumber'};
> >> >> $PING_DATA = $ret{'Frame_Ether.Packet_IPv4.ICMPv4_EchoRequest.Payload.data'};
> >> >> vCPP("-DPING_ID=$PING_ID -DPING_SN=$PING_SN -DPING_DATA=$PING_DATA");
> >> >> PING_ID,PING_SN can be read out normally,but i can't get any informatin about PING_DATA,the value of it is null.so when the scritps run her vSend($IF,echo_reply);it will report an error,can you help me?
> >> >>
> >> >>
> >> >>
> >> >
> >> >
> >> > --
> >> > *************************************
> >> > Hideshi Enokihara
> >> > IPv6 Business
> >> > Network & Software Development Dept.
> >> > Yokogawa Electric Corporation
> >
> >
> > --
> > *************************************
> > Hideshi Enokihara
> > IPv6 Business
> > Network & Software Development Dept.
> > Yokogawa Electric Corporation
--
*************************************
Hideshi Enokihara
IPv6 Business
Network & Software Development Dept.
Yokogawa Electric Corporation