I'm off office now, and while watching my little daughter lerning to ride a bicycle, I got an idea myself:
I took the servertest.bas sample as a starting-point for my project, 3000 lines ago. Of corse some adaptions here and there, but I kept the structure.
If you look at the sample, you can see that the input-buffer of the LAN-modul is read only WHILE the socket is ESTABLISHED.
That's not a good idea in my case! I should read from the buffer whenever there is data present, independently from the socketstatus.
I shall try that on monday and report!
↧