Skip to content

Commit

Permalink
Changed listener IP to any.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jesper Hermansen committed Dec 23, 2018
1 parent b6576ac commit a52c831
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Artnet Emu/Artnet Emu.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<PublisherName>Jesper Hermansen</PublisherName>
<WebPage>publish.htm</WebPage>
<OpenBrowserOnPublish>false</OpenBrowserOnPublish>
<ApplicationRevision>15</ApplicationRevision>
<ApplicationRevision>17</ApplicationRevision>
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
<UseApplicationTrust>false</UseApplicationTrust>
<PublishWizardCompleted>true</PublishWizardCompleted>
Expand Down
3 changes: 1 addition & 2 deletions Artnet Emu/ArtnetServer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,7 @@ public void Terminate()
public void Run()
{
UniverseSequences = new byte[256*256];
var localhost = new IPAddress(new byte[] { 127, 0, 0, 1 });
IPEndPoint listenerIp = new IPEndPoint(localhost, Port);
IPEndPoint listenerIp = new IPEndPoint(IPAddress.Any, Port);
if (Socket != null)
{
Socket.Close();
Expand Down

0 comments on commit a52c831

Please sign in to comment.