View previous topic :: View next topic
|
Author |
Message |
amitc23
New User
Joined: 05 Nov 2014 Posts: 95 Location: India
|
|
|
|
Hi
I didn't find any other Forum to put this in, Please feel free to move to any other relevent forum.
I am using EZASOCKET module to write messages to Sockets and in WRITE I am getting following
Code: |
*Function=WRITE ,Retcode=0000032509,Errno=0000000000,Nbyte=0000032509
|
and the return code from that program into the calling program is 007. Anybody has any idea where to look for the Retcode=0000032509 descriptions. I tried but could not find them anywhere.
Regards |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
From the manual:
Quote: |
Stream sockets act like streams of information with no boundaries separating data. For example, if a program wants to send 1000 bytes, each call to this function can send any number of bytes, up to the entire 1000 bytes. The number of bytes sent will be returned in RETCODE. Therefore, programs using stream sockets should place this call in a loop, calling this function until all data has been sent. |
If this is the interface you are using, you won't find a retcode 32509 anywhere. |
|
Back to top |
|
|
amitc23
New User
Joined: 05 Nov 2014 Posts: 95 Location: India
|
|
|
|
OK Yes, this is the same as the number of bytes sent by me. . Yes I did check, there are some Extended return codes for Sockets but those are also in 10xxx series. I will try to debug this module and try to find out the error. Thanks for that. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
What are you planning on debugging since the interface appears to be working as designed? From my earlier quote:
Quote: |
Therefore, programs using stream sockets should place this call in a loop, calling this function until all data has been sent. |
|
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
What is the EZA message id? |
|
Back to top |
|
|
|