AIBO Blog

Friday, July 11, 2003

Reply from OPEN-R BBS (Post: 0665)

I'm sorry, the example in "OPEN-R Internet Protocol Version4" may
confuse you. Please refer to the EchoClient and EchoServer sample programs.

In the "OPEN-R Internet Protocol Version4" document;
1. Initialize() must be invoked in DoStart().
2. "Extra : Initialize()" in stub.cfg is not needed. (useless)
3. Page.20
receiveMsg.Send (
IPStackRef,
myOID,
Entry_ReceiveCont,
sizeof(TCPEndpointReceiveMsg)
);

Page. 21
receiveMsg.Send (
IPStackRef,
myOID, Entry_SendCont,
sizeof(TCPEndpointReceiveMsg)
);

are wrong. They must be

Page.20
receiveMsg.Send (
IPStackRef,
myOID,
Extra_Entry[entryReceiveCont],
sizeof(TCPEndpointReceiveMsg)
);
Page. 21
receiveMsg.Send (
IPStackRef,
myOID,
Extra_Entry[entrySendCont],
sizeof(TCPEndpointReceiveMsg)
);

// entryReceiveCont and entrySendCont are generated by stubgen2

* This is a diagram of the EchoClient sample program.

DoStart() // Do initialization
|
Connect() ==> IPStack
ConnectCont() <== IPStack
|
Send() ==> IPStack
SendCont() <== IPStack
|
Receive() ==> IPStack
ReceiveCont() <== IPStack
|
If ERROR -> Close() ==> IPStack
Stop ............. CloseCont() <== IPStack
|
|
If !ERROR -> Send() ==> IPStack
Continue Loop .............. SendCont() <== IPStack

Thank you.
OPEN-R SDK Support Staff

1 Comments:

  • порно офигенное зрелые дамы [url=http://girlforfman.freeoda.com/]порно дом 2[/url] порево на любой вкус

    By Anonymous Anonymous, at 7:07 PM  

Post a Comment

<< Home