summaryrefslogtreecommitdiff
path: root/CSharp/Ivy/IvyPPC/IvyUDPStreamV3.cs
diff options
context:
space:
mode:
Diffstat (limited to 'CSharp/Ivy/IvyPPC/IvyUDPStreamV3.cs')
-rw-r--r--CSharp/Ivy/IvyPPC/IvyUDPStreamV3.cs13
1 files changed, 6 insertions, 7 deletions
diff --git a/CSharp/Ivy/IvyPPC/IvyUDPStreamV3.cs b/CSharp/Ivy/IvyPPC/IvyUDPStreamV3.cs
index 0711f07..d09d85b 100644
--- a/CSharp/Ivy/IvyPPC/IvyUDPStreamV3.cs
+++ b/CSharp/Ivy/IvyPPC/IvyUDPStreamV3.cs
@@ -45,18 +45,17 @@ namespace IvyBus
len = socket.ReceiveFrom(buffer, ref tempRemoteEP);
remote = (IPEndPoint)tempRemoteEP;
in_stream.Position = 0;
- version = input.ReadUInt16();
- port = input.ReadUInt16();
- int lenAppId = input.ReadUInt16();
- appId = input.ReadChars(lenAppId);
- int lenAppName = input.ReadUInt16();
- appName = new String(input.ReadChars(lenAppName));
+ version = 0; //TODO input.ReadUInt16();
+ port = 0; //TODO input.ReadUInt16();
+ int lenAppId = 0; //TODO input.ReadUInt16();
+ appId = null; //TODO input.ReadChars(lenAppId);
+ int lenAppName = 0; //TODO input.ReadUInt16();
+ appName = null; //TODO new String(input.ReadChars(lenAppName));
}
internal void sendMsg(IPEndPoint EPhost, int port, string appId, string appName)
{
- String.Format()
output.Write((ushort)IPAddress.HostToNetworkOrder((short)(PROCOCOLVERSION)));
output.Write((ushort)IPAddress.HostToNetworkOrder((short)port));
output.Write((ushort)IPAddress.HostToNetworkOrder((short)appId.Length));