All pastes #58627 Raw Edit

Someone

public text v1 · immutable
#58627 ·published 2006-05-24 12:27 UTC
rendered paste body
			public void connectCallback(IAsyncResult ar) {
				Socket sock = (Socket)ar.AsyncState;
				if (sock != null) {
					try {
						sock.EndConnect(ar);
					} catch (Exception e) { Console.Write(e.ToString() + "\n" + e.StackTrace); return; }
				} else {
					return;
				}
				timeoutEvent.Set();
			}