State machine that finds the first line breaks, in C [closed]

5

How to make a C state machine using decision commands ( if , else ) to cycle through a buffer received from the internet, byte by byte, in order to find the first line breaks (% ), and only then write the content? The socket part is already ok, just missing the state machine

    
asked by anonymous 19.06.2015 / 15:28

0 answers