Merge pull request #19 from Tarnadas/master
[sm64o.git] / Mono.Nat / ISearcher.cs
blob58712c9d758992c7752368c52948258f640f15d9
1 using System;
2 using System.Collections.Generic;
3 using System.Text;
4 using System.Net.Sockets;
5 using System.Net;
7 namespace Mono.Nat
9 public delegate void NatDeviceCallback(INatDevice device);
11 internal interface ISearcher
13 event EventHandler<DeviceEventArgs> DeviceFound;
14 event EventHandler<DeviceEventArgs> DeviceLost;
16 void Search();
17 void Handle(IPAddress localAddress, byte[] response, IPEndPoint endpoint);
18 DateTime NextSearch { get; }