Hi, I watched some shell scripting codes and I saw that there is a command, which name is LISTEN. What is the logic of this command and how I can use it?
|+0 forum 1|
Hi everybody, How to do the following in java..?? created a frame and one button added to that frame and set the keyboard shortcut to that button.Now my question is how to make that keyboard shortcut will work eventhough focus is not there in that frame? anyone have any idea..
|+0 forum 2|
This prints NULL: [CODE=Java]String sss = System.getSecurityManager() == null ? "NULL" : System.getSecurityManager().getClass().getName(); System.out.println(sss);[/CODE] And this throws exception: [CODE]ServerSocket serversocket = new ServerSocket(80);[/CODE] This one: [CODE]Exception in thread "main" java.lang.Error: java.net.BindException: Permission denied at httpserver.HTTPServer.main(HTTPServer.java:68) Caused by: java.net.BindException: Permission denied at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:383) at java.net.ServerSocket.bind(ServerSocket.java:328) at java.net.ServerSocket.<init>(ServerSocket.java:194) at java.net.ServerSocket.<init>(ServerSocket.java:106) at httpserver.HTTPServer.main(HTTPServer.java:38)[/CODE] [B]This actually works on Windows, but fails on OsX Snow Leo.[/B] Also it works with any other port, yet port 80 is not in use, and I run everything as admin. Thanks!
|+0 forum 7|