Connection Controller (socket) undefined error

Asked by sayantan

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);
}

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
sayantan
Solved:
Last query:
Last reply: