summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Ivy/Ivy.csproj12
-rw-r--r--Ivy/IvyClient.cs2
-rw-r--r--Ivy/IvyWatcher.cs4
-rw-r--r--Ivy/Properties/AssemblyInfo.cs2
-rw-r--r--Ivy/app.config14
5 files changed, 19 insertions, 15 deletions
diff --git a/Ivy/Ivy.csproj b/Ivy/Ivy.csproj
index 38af05b..ae993ae 100644
--- a/Ivy/Ivy.csproj
+++ b/Ivy/Ivy.csproj
@@ -14,7 +14,7 @@
</ApplicationIcon>
<AssemblyKeyContainerName>
</AssemblyKeyContainerName>
- <AssemblyName>IvyBus.Ivy</AssemblyName>
+ <AssemblyName>Ivy</AssemblyName>
<AssemblyOriginatorKeyFile>
</AssemblyOriginatorKeyFile>
<DefaultClientScript>JScript</DefaultClientScript>
@@ -30,7 +30,7 @@
</FileUpgradeFlags>
<UpgradeBackupLocation>
</UpgradeBackupLocation>
- <SignAssembly>true</SignAssembly>
+ <SignAssembly>false</SignAssembly>
<OldToolsVersion>3.5</OldToolsVersion>
<PublishUrl>publish\</PublishUrl>
<Install>true</Install>
@@ -47,7 +47,9 @@
<IsWebBootstrapper>false</IsWebBootstrapper>
<UseApplicationTrust>false</UseApplicationTrust>
<BootstrapperEnabled>true</BootstrapperEnabled>
- <TargetFrameworkVersion>v3.0</TargetFrameworkVersion>
+ <TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
+ <TargetFrameworkSubset>
+ </TargetFrameworkSubset>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<OutputPath>bin\Debug\</OutputPath>
@@ -206,7 +208,7 @@
<PropertyGroup>
<PreBuildEvent>
</PreBuildEvent>
- <PostBuildEvent>
- </PostBuildEvent>
+ <PostBuildEvent>copy /b /y "$(TargetPath)" "\\samba.tls.cena.fr\projet\www-sites\www2\products\ivy\download\packages"
+</PostBuildEvent>
</PropertyGroup>
</Project> \ No newline at end of file
diff --git a/Ivy/IvyClient.cs b/Ivy/IvyClient.cs
index 8421443..d832dca 100644
--- a/Ivy/IvyClient.cs
+++ b/Ivy/IvyClient.cs
@@ -121,6 +121,8 @@ namespace IvyBus
this.appPort = appPort;
this.bus = bus;
+ // set TCP_NODELAY to lower latency
+ socket.SetSocketOption(SocketOptionLevel.IP, SocketOptionName.NoDelay, true);
localPort = ((IPEndPoint)socket.LocalEndPoint).Port;
IPEndPoint endpoint = (IPEndPoint)socket.RemoteEndPoint;
diff --git a/Ivy/IvyWatcher.cs b/Ivy/IvyWatcher.cs
index cc3fab1..8764a28 100644
--- a/Ivy/IvyWatcher.cs
+++ b/Ivy/IvyWatcher.cs
@@ -56,8 +56,8 @@ namespace IvyBus
// To do reuseaddr we must use a Socket not a udp client
Socket broadcast = new Socket(AddressFamily.InterNetwork, SocketType.Dgram, ProtocolType.Udp);
IPEndPoint EPhost = new IPEndPoint(IPAddress.Any, port);
- broadcast.SetSocketOption(SocketOptionLevel.Socket, SocketOptionName.Broadcast,1);
- broadcast.SetSocketOption(SocketOptionLevel.Socket, SocketOptionName.ReuseAddress,1);
+ broadcast.SetSocketOption(SocketOptionLevel.Socket, SocketOptionName.Broadcast,true);
+ broadcast.SetSocketOption(SocketOptionLevel.Socket, SocketOptionName.ReuseAddress,true);
broadcast.Bind(EPhost);
//test isMulticastAddress // TODO better check
diff --git a/Ivy/Properties/AssemblyInfo.cs b/Ivy/Properties/AssemblyInfo.cs
index 79c0aa6..c152b3f 100644
--- a/Ivy/Properties/AssemblyInfo.cs
+++ b/Ivy/Properties/AssemblyInfo.cs
@@ -26,7 +26,7 @@ using System.Resources;
// You can specify all the values or you can default the Revision and Build Numbers
// by using the '*' as shown below:
-[assembly: AssemblyVersion("2.2.*")]
+[assembly: AssemblyVersion("2.3.*")]
//
// In order to sign your assembly you must specify a key to use. Refer to the
diff --git a/Ivy/app.config b/Ivy/app.config
index e5b53b3..0746898 100644
--- a/Ivy/app.config
+++ b/Ivy/app.config
@@ -1,8 +1,8 @@
-<?xml version="1.0" encoding="utf-8" ?>
+<?xml version="1.0"?>
<configuration>
<configSections>
- <sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
- <section name="IvyBus.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
+ <sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+ <section name="IvyBus.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false"/>
</sectionGroup>
</configSections>
<applicationSettings>
@@ -17,14 +17,14 @@
<value>False</value>
</setting>
<setting name="IvyBus" serializeAs="String">
- <value />
+ <value/>
</setting>
<setting name="AppName" serializeAs="String">
- <value />
+ <value/>
</setting>
<setting name="ReadyMessage" serializeAs="String">
- <value />
+ <value/>
</setting>
</IvyBus.Properties.Settings>
</applicationSettings>
-</configuration> \ No newline at end of file
+<startup><supportedRuntime version="v2.0.50727"/></startup></configuration>