Esempio n. 1
0
.o("Listener failed to connect to "+a);M.Exception(e);}}private void A(a5 a,int
b){try{if(b>=q.Length){b=0;}a.BeginReceive(q,b,q.Length-b,0,C,b);}catch(
Exception e){M.WriteLine("BeginReceive failed");M.Exception(e);z(u);}}private
Esempio n. 2
0
Task x(){return Task.Run(()=>v.WaitOne());}private void y(IAsyncResult a,a5 b){
try{var c=(string)a.AsyncState;var d=b.EndReceive(a);if(d==1&&s[0]==0xAA){u=c;v.
Set();}}catch(Exception e){M.WriteLine("Handshake EndReceive failed");M.
Exception(e);}}}class a0{private const string o=
Esempio n. 3
0
void z(string a){var b=new a6();try{M.o("Listener connecting to "+a);b.s(a,s).
Wait(20);M.o("Listener connected to "+a);v=b.Client;A(v,0);}catch(Exception e){M
.o("Listener failed to connect to "+a);M.Exception(e);}}private void A(a5 a,int