Default constructor.
| C# | Visual Basic | Visual C++ |
public IPBindInfo( string hostName, BindInfoProtocol protocol, IPAddress ip, int port )
Public Sub New ( _ hostName As String, _ protocol As BindInfoProtocol, _ ip As IPAddress, _ port As Integer _ )
public: IPBindInfo( String^ hostName, BindInfoProtocol protocol, IPAddress^ ip, int port )
- hostName (String)
- Host name.
- protocol (BindInfoProtocol)
- Bind protocol.
- ip (IPAddress)
- IP address to listen.
- port (Int32)
- Port to listen.
| Exception | Condition |
|---|---|
| ArgumentNullException | Is raised when ip is null. |