-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a0ad5a5
commit 87880f6
Showing
60 changed files
with
91 additions
and
89 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
30 changes: 15 additions & 15 deletions
30
...e/Maple.Server_UDP_Listener_Sample.csproj → ...s/Maple.Server_UDP_Listener_Sample.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<Company>Wilderness Labs, Inc</Company> | ||
<Authors>Wilderness Labs, Inc</Authors> | ||
<GenerateDocumentationFile>true</GenerateDocumentationFile> | ||
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression> | ||
<LangVersion>10.0</LangVersion> | ||
<OutputType>Exe</OutputType> | ||
<TargetFramework>net7.0</TargetFramework> | ||
<ImplicitUsings>enable</ImplicitUsings> | ||
<Nullable>enable</Nullable> | ||
</PropertyGroup> | ||
|
||
</Project> | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<Company>Wilderness Labs, Inc</Company> | ||
<Authors>Wilderness Labs, Inc</Authors> | ||
<GenerateDocumentationFile>true</GenerateDocumentationFile> | ||
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression> | ||
<LangVersion>10.0</LangVersion> | ||
<OutputType>Exe</OutputType> | ||
<TargetFramework>net7.0</TargetFramework> | ||
<ImplicitUsings>enable</ImplicitUsings> | ||
<Nullable>enable</Nullable> | ||
</PropertyGroup> | ||
|
||
</Project> |
File renamed without changes.
48 changes: 24 additions & 24 deletions
48
...ple.Server_UDP_Listener_Sample/Program.cs → Source/Utilities/Program.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,25 @@ | ||
using System.Net; | ||
using System.Net.Sockets; | ||
using System.Text; | ||
|
||
namespace Maple.Server_UDP_Listener_Sample | ||
{ | ||
class MainClass | ||
{ | ||
const int MAPLE_SERVER_BROADCASTPORT = 17756; | ||
|
||
static void Main(string[] args) | ||
{ | ||
UdpClient udpClient = new UdpClient(MAPLE_SERVER_BROADCASTPORT); | ||
IPEndPoint RemoteIpEndPoint = new IPEndPoint(IPAddress.Any, 0); | ||
|
||
while (true) | ||
{ | ||
Byte[] receiveBytes = udpClient.Receive(ref RemoteIpEndPoint); | ||
string returnData = Encoding.ASCII.GetString(receiveBytes); | ||
Console.WriteLine(returnData); | ||
} | ||
|
||
} | ||
} | ||
using System.Net; | ||
using System.Net.Sockets; | ||
using System.Text; | ||
|
||
namespace Maple.Server_UDP_Listener_Sample | ||
{ | ||
class MainClass | ||
{ | ||
const int MAPLE_SERVER_BROADCASTPORT = 17756; | ||
|
||
static void Main(string[] args) | ||
{ | ||
UdpClient udpClient = new UdpClient(MAPLE_SERVER_BROADCASTPORT); | ||
IPEndPoint RemoteIpEndPoint = new IPEndPoint(IPAddress.Any, 0); | ||
|
||
while (true) | ||
{ | ||
Byte[] receiveBytes = udpClient.Receive(ref RemoteIpEndPoint); | ||
string returnData = Encoding.ASCII.GetString(receiveBytes); | ||
Console.WriteLine(returnData); | ||
} | ||
|
||
} | ||
} | ||
} |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters