while ( (b[0] = in.readByte()) != 3) {
while ( (b[0] = myIpStreamIn.readByte()) != 3) {
    public String sendUcp(byte[] data) throws SmsException {		if(!s.isConnected() || out==null || in==null) {			throw new SmsException("Please Connect first");		}    	System.out.println("SMSC send: " + new String(data,0,data.length));    	StringBuffer strBuf;		try {			out.write(data);			out.flush();//			wait(20);			byte[] b = new byte[1];			if ((b[0] = in.readByte()) != 2) {				System.out.println("SendSMS.send: The SMSC sends a bad reply");				throw new SmsException("The SMSC sends a bad reply");			}			strBuf = new StringBuffer();			while ( (b[0] = in.readByte()) != 3) {				strBuf.append(new String(b));			}		} catch (Exception e) {			e.printStackTrace();			throw new SmsException(e.getMessage());//		} catch (SmsException e) {//			throw new SmsException(e.getMessage());		}		// Return the String    	return strBuf.toString();    }