Quantcast
Channel: MCS Electronics Forum
Viewing all articles
Browse latest Browse all 20563

EASY TCP/IP : TCPWRITE: when to socketdisconnect? : REPLY

$
0
0
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!

Viewing all articles
Browse latest Browse all 20563

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>