Breaking socket data on lines?
How can I break received socket data into lines so I can read line by line?
|
Re: Breaking socket data on lines?
nvm
I just used: Code:
new ExplodedStrings[10][16]Code:
stock ExplodeString( p_szOutput[][], p_nMax, p_nSize, p_szInput[], p_szDelimiter ) |
Re: Breaking socket data on lines?
ehm , lets say
that your variable that the socket stores the new data is data[900] you can simple do it with server_print("%s\n\r",data) |
Re: Breaking socket data on lines?
Quote:
Example: Code:
To find those you would use the ExplodeString() like he did or this: Code:
|
| All times are GMT -4. The time now is 04:18. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.