Method | Description | |
---|---|---|
HttpListener ( |
Initializes a new instance of the HttpListener class. For the security of your server, try to avoid to listen on every network card (IPAddress.Any). Listening on a local IP address is usually sufficient and much more secure. |
|
HttpListener ( int Port ) : System |
Initializes a new instance of the HttpListener class. The HttpListener will start listening on all installed network cards. |
|
NewClient_OnDataReceived ( string SendData, string RecData ) : void | ||
OnAccept ( IAsyncResult ar ) : void |
Called when there's an incoming client connection waiting to be accepted.
|
|
ToString ( ) : string |
Returns a string representation of this object.
|
public HttpListener ( |
||
Address | The address to listen on. You can specify IPAddress.Any to listen on all installed network cards. | |
Port | int | The port to listen on. |
return | System |
public HttpListener ( int Port ) : System | ||
Port | int | The port to listen on. |
return | System |
public NewClient_OnDataReceived ( string SendData, string RecData ) : void | ||
SendData | string | |
RecData | string | |
return | void |
public OnAccept ( IAsyncResult ar ) : void | ||
ar | IAsyncResult | The result of the asynchronous operation. |
return | void |