📄 started.java
字号:
// Decompiled by Jad v1.5.8e2. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://kpdus.tripod.com/jad.html
// Decompiler options: packimports(3) fieldsfirst ansi space
// Source File Name: Started.java
package org.gudy.azureus2.ui.swt.updater.snippets;
import java.net.InetAddress;
import java.net.ServerSocket;
// Referenced classes of package org.gudy.azureus2.ui.swt.updater.snippets:
// Logger
public class Started
{
public Started()
{
}
public static void main(String args[])
{
boolean ok = false;
try
{
while (!ok)
try
{
ServerSocket server = new ServerSocket(6880, 50, InetAddress.getByName("127.0.0.1"));
ok = true;
server.close();
}
catch (Exception e)
{
Logger.log((new StringBuilder()).append("Exception while trying to bind on port 6880 : ").append(e).toString());
Thread.sleep(1000L);
}
}
catch (Exception e)
{
Logger.log((new StringBuilder()).append("Exception while running Started : ").append(e).toString());
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -