> > WSocket will always trigger exactly one OnDataAvailable per line received. > Is this completely true. I'm sure in the past I've had a receive call > return multiple lines, something like "This is one line'#13#10'this is the > next'#13#10'". And I had to split multiple lines, and process individually. > I don't know if this is a bug that was once fixed, but I remember having to > do it when I first started using TWSocket (years ago), and have done ever > since.
You must set LineMode := TRUE to have TWSocket handle receiving lines, and set LineEnd := #13#10; -- Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html -- [EMAIL PROTECTED] Author of ICS (Internet Component Suite, freeware) Author of MidWare (Multi-tier framework, freeware) http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
