I'm new to Java programming. I want to write simple Java network protocol. I want to send this string to remote Java host, for example:
230 computer delete reboot exit
The problem that I cannot resolve is how I can extract the strings one by one and put it into array? And the biggest mystery to me is how I do this if I have strings with different length? Thank you for your help!
PS: Can I send directly entire array not just simple strings?
PS 2: What if I have Java server and C client? As far as know only strings can be used to exchange data between both sides?