public void EnableBeacon() { if (BeaconUDPClient == null) { BeaconUDPClient = new SimpleSharpUDPClient(); } BeaconUDPClient.UDPDataAvailable += new SimpleSharpUDPClient.UDPDataAvailableHandler(BeaconHandler); BeaconUDPClient.Connect(BROADCASTADDRESS, BEACONPORT, BEACONBUFFERSIZE); }
public UDPConnectionInfo() { udpclient = new SimpleSharpUDPClient(); connectioncount = 1; }