Water level monitoring system using Xbee

So you're sending out human readable ASCII, which indeed can be converted using atoi() (Google much?).
As you're using println you automatically add LF and CR to the end of the message (the line termination), so on the receiver side just read the bytes until you see the LF come in (iirc that's the first one, otherwise it's the CR).