Receiving number via xbee

i send some numbers from arduino 1 to arduino 2. communication is established by two xbees under AT mode at both arduino's respectively
for example
arduino 1 senda a data as 239
arduino 2 receives full data but one number at a time
my program:
arduino 1:

void setup(void) {
Serial.begin(9600);

}

void loop(void) {

int t = 239;
Serial.println(t);
}

arduino 2:

void setup() {
Serial.begin(9600);
pinMode(13,OUTPUT);
}

void loop() {
int t=0;
while(Serial.available() == 0) { }
t=Serial.read();
if(t==239)
{
digitalWrite(13, HIGH);
delay(1000);
digitalWrite(13, LOW);
delay(1000);
}

the led is not blinking. when i looked through serial monitor, arduino 2 received number as single bit like 2 3 9 each time loop running.. i then view arduino's xbee in XCTU...but there it was received as 239 at each time.. i think only arduino 2 read information as single bit...
i want to receive completely as 239 and store it in variable t.
same problem as i posted already,, to understand better...

You are printing "239\n" (ie 0x32, 0x33, 0x39, 0x0A) but reading a single byte and comparing
to 239 (ie 0xEF).

Do you want to send the 239 as a raw byte or as ascii text? read() and write() handle raw
bytes, print() and parseInt() handle numbers as ascii text - you are mixing them.