Default constructor.

C# | Visual Basic | Visual C++ | F# |
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 )
new : hostName : string * protocol : BindInfoProtocol * ip : IPAddress * port : int -> IPBindInfo

- 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. |
Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119