NDTCPMessenger(String, UInt32) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new instance of the NDTCPMessenger class.
public:
NDTCPMessenger(Platform::String ^ remoteHostName, unsigned int remoteHostPort);
NDTCPMessenger(winrt::hstring const& remoteHostName, uint32_t const& remoteHostPort);
/// [Windows.Foundation.Metadata.Deprecated("INDTCPMessengerFactory is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 196608, "Windows.Foundation.UniversalApiContract")]
NDTCPMessenger(winrt::hstring const& remoteHostName, uint32_t const& remoteHostPort);
public NDTCPMessenger(string remoteHostName, uint remoteHostPort);
[Windows.Foundation.Metadata.Deprecated("INDTCPMessengerFactory is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 196608, "Windows.Foundation.UniversalApiContract")]
public NDTCPMessenger(string remoteHostName, uint remoteHostPort);
function NDTCPMessenger(remoteHostName, remoteHostPort)
Public Sub New (remoteHostName As String, remoteHostPort As UInteger)
Parameters
- remoteHostName
-
String
Platform::String
winrt::hstring
The IP address of the remote host that will receive messages. The format is either an IPv4 address in dotted-decimal notation or an IPv6 address in colon-hex notation.
- remoteHostPort
-
UInt32
unsigned int
uint32_t
The TCP port of the remote host that will receive messages.
- Attributes