System.Net.EndPointListener.Close C# (CSharp) Method

Close() public method

public Close ( ) : void
return void
		public void Close ()
		{
			sock.Close ();
		}

Usage Example

Example #1
0
 public static void RemoveEndPoint(EndPointListener epl, IPEndPoint ep)
 {
     lock (ip_to_endpoints) {
         Dictionary <int, EndPointListener> p = null;
         p = ip_to_endpoints [ep.Address];
         p.Remove(ep.Port);
         epl.Close();
     }
 }
All Usage Examples Of System.Net.EndPointListener::Close