function sendBinary ( $to, $from, $body, $udh ) {
	
		//Binary messages must be hex encoded
		$body = bin2hex ( $body );
		$udh = bin2hex ( $udh );

		// Make sure $from is valid
		$from = $this->validateOriginator($from);

		// Send away!
		$post = array(
			'from' => $from,
			'to' => $to,
			'type' => 'binary',
			'body' => $body,
			'udh' => $udh
		);
		return $this->sendRequest ( $post );
		
	}
function sendBinary ( $to, $from, $body, $udh ) {
	
		//Binary messages must be hex encoded
		$body = bin2hex ( $body );
		$udh = bin2hex ( $udh );

		// Make sure $from is valid
		$from = $this->validateOriginator($from);

		// Send away!
		$post = array(
			'from' => $from,
			'to' => $to,
			'type' => 'binary',
			'body' => $body,
			'udh' => $udh
		);
		return $this->sendRequest ( $post );
		
	}
function sendBinary ( $ to , $ from , $ body , $ udh ) { //Binary messages must be hex encoded
 $ body = bin2hex ( $ body ) ; $ udh = bin2hex ( $ udh ) ; // Make sure $from is valid
 $ from = $ this -> validateOriginator ( $ from ) ; // Send away!
 $ post = array ( 'from' => $ from , 'to' => $ to , 'type' => 'binary' , 'body' => $ body , 'udh' => $ udh ) ; return $ this -> sendRequest ( $ post ) ; }
Prepare new WAP message.
Prepare new WAP message .