← Back to team overview

sikuli-driver team mailing list archive

[Question #293487]: Connection Controller (socket) undefined error

 

New question #293487 on Sikuli:
https://answers.launchpad.net/sikuli/+question/293487

When ever i try to make a connection to a VNC port using the code below

public static void main(String[] args){

    Socket s = new Socket("192.168.1.17", 5900);
    s.setSoTimeout(1000);
    s.setKeepAlive(true);

    ConnectionController cc = new ConnectionController(s);---> shows "The constructor connection controller(socket) is undefined "
    cc.openConnection(0); 
    cc.setPixelFormat(0, "Truecolor", 32, 0); 
       Thread.sleep(2000); 
    VNCScreen vnc = new VNCScreen(); 
    vnc.click(new Pattern("untitled.png"));
    cc.closeConnection(0); 
}





-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.