public void beginListeningHerdAgentQueryResponses() { ShepherdUdpState u = new ShepherdUdpState(); IPEndPoint xxx = new IPEndPoint(0, CJobDispatcher.m_discoveryPortHerd); u.ip = xxx; u.client = m_discoverySocket; m_discoverySocket.BeginReceive(DiscoveryCallback, u); }