Hello
I shall try to send data to the server specified by the client
I can send data using the IP address and port.
Do you have a way I can send data using the local network identifier?
I only made it as a sample, but it did not work.
Please provide a sample that works for me
Dim targetServerConnectionInfo As ConnectionInfo = New ConnectionInfo(ConnectionType.TCP, "MY Network Identifier", New IPEndPoint(IPAddress.Any, CInt(4040)), True)
Dim stringToSend As String = "Hello World"
NetworkComms.SendObject("Message1",
CType(targetServerConnectionInfo.RemoteEndPoint, IPEndPoint).Address.ToString(),
CType(targetServerConnectionInfo.RemoteEndPoint, IPEndPoint).Port,
stringToSend)
-
This topic was modified 8 years, 6 months ago by .