Begins a discovery process by emitting discovery signals to connected subnet on port
and for the time supplied.
Namespace: FalconUDPAssembly: FalconUDP (in FalconUDP.dll) Version: 0.1.0.0 (0.1.0.0)
Syntax
C# |
---|
public void DiscoverFalconPeersAsync( TimeSpan timeSpan, int port, Nullable<Guid> token, DiscoveryCallback callback, int signalsToEmit = 3 ) |
Visual Basic |
---|
Public Sub DiscoverFalconPeersAsync ( timeSpan As TimeSpan, port As Integer, token As Nullable(Of Guid), callback As DiscoveryCallback, Optional signalsToEmit As Integer = 3 ) |
Visual C++ |
---|
public: void DiscoverFalconPeersAsync( TimeSpan timeSpan, int port, Nullable<Guid> token, DiscoveryCallback^ callback, int signalsToEmit = 3 ) |
Parameters
- timeSpan
- Type: System..::..TimeSpan
Time span to wait for replies.
- port
- Type: System..::..Int32
Port number to emit discovery signals to.
- token
- Type: System..::..Nullable<(Of <(<'Guid>)>)>
Optional Guid token remote peer requries
- callback
- Type: FalconUDP..::..DiscoveryCallback
DiscoveryCallback to invoke when the operation completes
- signalsToEmit (Optional)
- Type: System..::..Int32
The number or broadcast signals to emit over the period timeSpan.
Remarks
token should be null if NOT to be included int the discovery requests.