Exemplo n.º 1
0
 protected override void DoBind(EndPoint localAddress)
 {
     _ = Interlocked.Exchange(ref v_localAddress, LocalChannelRegistry.Register(this, Volatile.Read(ref v_localAddress), localAddress));
     _ = Interlocked.Exchange(ref v_state, State.Bound);
 }
Exemplo n.º 2
0
 protected override void DoBind(EndPoint localAddress)
 {
     this.localAddress = LocalChannelRegistry.Register(this, this.localAddress, localAddress);
     this.state        = 1;
 }