summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfcolin2007-02-01 10:02:44 +0000
committerfcolin2007-02-01 10:02:44 +0000
commit1d9a3b151d1011f828d074923f246fb36c120035 (patch)
treeeb559d9ac36f42239e4e3300925462e82953946e
parentef27af2c51c50ff65746e142262db0b50d6cb994 (diff)
downloadivy-csharp-1d9a3b151d1011f828d074923f246fb36c120035.zip
ivy-csharp-1d9a3b151d1011f828d074923f246fb36c120035.tar.gz
ivy-csharp-1d9a3b151d1011f828d074923f246fb36c120035.tar.bz2
ivy-csharp-1d9a3b151d1011f828d074923f246fb36c120035.tar.xz
Utilisateur : Fcolin Date : 1/12/05 Heure : 18:07 Archivé dans $/CSharp/Ivy Commentaire: (vss 2)
-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));