Besides the typo in the last exapmple, it's kinda important to know what you
actually send into the socket on the other side. is it another test code, or is
it some existing software?
Is whatever is contained in the paramenter "myDevSock" actually in "the
opensockets"?
I suggest to make sure
On 18.11.2011 at 12:17 Uhr -0600 Warren Kuhl apparently wrote:
I am trying to retrieve data from a socket.
When I try:
read from socket myDecSock until eof
put it into tData
...no data
Is that your actual code, Warren? There is a typo in the non-working
code: myDecSock instead of myDevSock.
Should this production ready old example help ?
http://www.sahores-conseil.com/insead/page5_en.html
Best,
Le 18 nov. 2011 à 19:17, Warren Kuhl a écrit :
> I am trying to retrieve data from a socket.
>
> When I try:
>
> read from socket myDevSock for characters
> put it into tData
> ...I
I am trying to retrieve data from a socket.
When I try:
read from socket myDevSock for characters
put it into tData
...I get data
read from socket myDevSock until crlf
put it into tData
...I get data
read from socket myDecSock until eof
put it into tData
...no data
Wouldn't the read until