try{
socket.connect( new InetSocketAddress( _address, 2190 ), 5000 );
socket.setSoTimeout( 5000 );
DataOutputStream dos = new DataOutputStream( socket.getOutputStream());
byte[] beacon_out = _tivo_manager.encodeBeacon( false, 0 );
dos.writeInt( beacon_out.length );
dos.write( beacon_out );
DataInputStream dis = new DataInputStream( socket.getInputStream());
int len = dis.readInt();