C# 클래스 AnimatGuiCtrls.Network.Ping

Performs a network ping similar to the 'ping' command.
Based on the code found at http://msdn.microsoft.com/msdnmag/issues/01/02/netpeers/default.aspx by Lance Olson
상속: System.ComponentModel.Component
파일 보기 프로젝트 열기: NeuroRoboticTech/AnimatLabPublicSource

Private Properties

프로퍼티 타입 설명
InitializeComponent void
OnPingCompleted void
OnPingError void
OnPingResponse void
OnPingStarted void
SendPackets PingResponse

공개 메소드들

메소드 설명
BeginPingHost ( AsyncCallback callback, IPAddress serverAddress ) : IAsyncResult
BeginPingHost ( AsyncCallback callback, IPAddress serverAddress, int pingCount ) : IAsyncResult
BeginPingHost ( AsyncCallback callback, IPEndPoint serverEndPoint ) : IAsyncResult
BeginPingHost ( AsyncCallback callback, IPEndPoint serverEndPoint, int pingCount ) : IAsyncResult
BeginPingHost ( AsyncCallback callback, string hostname ) : IAsyncResult
BeginPingHost ( AsyncCallback callback, string hostname, int pingCount ) : IAsyncResult
EndPingHost ( IAsyncResult result ) : PingResponse
Ping ( ) : System
Ping ( System container ) : System
PingHost ( IPAddress serverAddress ) : PingResponse

Attempts to ping a host.

PingHost ( IPAddress serverAddress, int pingCount ) : PingResponse

Attempts to ping a host.

PingHost ( IPEndPoint serverEndPoint ) : PingResponse

Attempts to ping a host.

PingHost ( IPEndPoint serverEndPoint, int pingCount ) : PingResponse

Attempts to ping a host.

PingHost ( string hostname ) : PingResponse

Attempts to ping a host.

PingHost ( string hostname, int pingCount ) : PingResponse

Attempts to ping a host.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Clean up any resources being used.

비공개 메소드들

메소드 설명
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

OnPingCompleted ( PingResponse response ) : void
OnPingError ( PingResponseType errorType, string message ) : void
OnPingResponse ( IPAddress serverAddress, PingResponseType result, int responseTime, int byteCount, bool &cancel ) : void
OnPingStarted ( IPEndPoint serverEndPoint, int byteCount ) : void
SendPackets ( Socket socket, EndPoint client, EndPoint server, byte sendBuffer, int pingCount ) : PingResponse

메소드 상세

BeginPingHost() 공개 메소드

public BeginPingHost ( AsyncCallback callback, IPAddress serverAddress ) : IAsyncResult
callback AsyncCallback
serverAddress System.Net.IPAddress
리턴 IAsyncResult

BeginPingHost() 공개 메소드

public BeginPingHost ( AsyncCallback callback, IPAddress serverAddress, int pingCount ) : IAsyncResult
callback AsyncCallback
serverAddress System.Net.IPAddress
pingCount int
리턴 IAsyncResult

BeginPingHost() 공개 메소드

public BeginPingHost ( AsyncCallback callback, IPEndPoint serverEndPoint ) : IAsyncResult
callback AsyncCallback
serverEndPoint System.Net.IPEndPoint
리턴 IAsyncResult

BeginPingHost() 공개 메소드

public BeginPingHost ( AsyncCallback callback, IPEndPoint serverEndPoint, int pingCount ) : IAsyncResult
callback AsyncCallback
serverEndPoint System.Net.IPEndPoint
pingCount int
리턴 IAsyncResult

BeginPingHost() 공개 메소드

public BeginPingHost ( AsyncCallback callback, string hostname ) : IAsyncResult
callback AsyncCallback
hostname string
리턴 IAsyncResult

BeginPingHost() 공개 메소드

public BeginPingHost ( AsyncCallback callback, string hostname, int pingCount ) : IAsyncResult
callback AsyncCallback
hostname string
pingCount int
리턴 IAsyncResult

Dispose() 보호된 메소드

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

EndPingHost() 공개 메소드

public EndPingHost ( IAsyncResult result ) : PingResponse
result IAsyncResult
리턴 PingResponse

Ping() 공개 메소드

public Ping ( ) : System
리턴 System

Ping() 공개 메소드

public Ping ( System container ) : System
container System
리턴 System

PingHost() 공개 메소드

Attempts to ping a host.
public PingHost ( IPAddress serverAddress ) : PingResponse
serverAddress System.Net.IPAddress IPAddress to ping
리턴 PingResponse

PingHost() 공개 메소드

Attempts to ping a host.
public PingHost ( IPAddress serverAddress, int pingCount ) : PingResponse
serverAddress System.Net.IPAddress IPAddress to ping
pingCount int Ping count
리턴 PingResponse

PingHost() 공개 메소드

Attempts to ping a host.
public PingHost ( IPEndPoint serverEndPoint ) : PingResponse
serverEndPoint System.Net.IPEndPoint EndPoint to ping
리턴 PingResponse

PingHost() 공개 메소드

Attempts to ping a host.
public PingHost ( IPEndPoint serverEndPoint, int pingCount ) : PingResponse
serverEndPoint System.Net.IPEndPoint EndPoint to ping
pingCount int Ping count
리턴 PingResponse

PingHost() 공개 메소드

Attempts to ping a host.
public PingHost ( string hostname ) : PingResponse
hostname string Host to ping
리턴 PingResponse

PingHost() 공개 메소드

Attempts to ping a host.
public PingHost ( string hostname, int pingCount ) : PingResponse
hostname string Host to ping
pingCount int Ping count
리턴 PingResponse