amazon自动化软件开发
亚马逊自动注册,自动二次验证,自动一键新机签约完成。
自动抢货购物,自动化脚本开发。
后期不断升级维护。功能可增加。
软件代码:
public void start()
{
IPHostEntry ipHostInfo = Dns.Resolve(Dns.GetHostName());
IPAddress ipAddress = ipHostInfo.AddressList[0];
IPEndPoint localEndPoint = new IPEndPoint(ipAddress, this.port);
socketServer = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp);
try
{
socketServer.Bind(localEndPoint);
socketServer.Listen(10);
this.startedDelegate();
while (true)
{
// Set the event to nonsignaled state.
allDone.Reset();
// Start an asynchronous socket to listen for connections.
socketServer.BeginAccept(new AsyncCallback(AcceptClientSocket), socketServer);
// Wait until a connection is made before continuing.
allDone.WaitOne();
//Thread.Sleep(10);
}
}
catch (Exception e)
{
System.Windows.Forms.MessageBox.Show(e.Message);
Console.WriteLine(e.ToString());
}
}