summaryrefslogtreecommitdiff
path: root/CSharp
diff options
context:
space:
mode:
authorfcolin2007-02-01 09:50:55 +0000
committerfcolin2007-02-01 09:50:55 +0000
commit7857f094320f2520c0d28600d110db3af99b8b77 (patch)
tree5d1b17daa71cddf5d16704f3a8dfabbe03ac5cd3 /CSharp
parent75a3124c7099425b5cf856898740c1ba6d57937b (diff)
downloadivy-csharp-7857f094320f2520c0d28600d110db3af99b8b77.zip
ivy-csharp-7857f094320f2520c0d28600d110db3af99b8b77.tar.gz
ivy-csharp-7857f094320f2520c0d28600d110db3af99b8b77.tar.bz2
ivy-csharp-7857f094320f2520c0d28600d110db3af99b8b77.tar.xz
Utilisateur : Fcolin Date : 1/12/05 Heure : 18:07 Archivé dans $/CSharp/Ivy Commentaire: (vss 2)
Diffstat (limited to 'CSharp')
-rw-r--r--CSharp/Ivy/Ivy/IvyUDPStreamV3.cs13
1 files changed, 6 insertions, 7 deletions
diff --git a/CSharp/Ivy/Ivy/IvyUDPStreamV3.cs b/CSharp/Ivy/Ivy/IvyUDPStreamV3.cs
index 0711f07..d09d85b 100644
--- a/CSharp/Ivy/Ivy/IvyUDPStreamV3.cs
+++ b/CSharp/Ivy/Ivy/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));