Compare commits

..

No commits in common. "631c3e00b20e3fbc9ae4a1194d63bc771b39ae75" and "da1bd1fc619d9453abbf11cf2b95f4d86ce40a73" have entirely different histories.

2 changed files with 2 additions and 1 deletions

View File

@ -18,6 +18,7 @@ namespace RoboidControl {
/// <param name="port">The port of which to receive the messages</param> /// <param name="port">The port of which to receive the messages</param>
public SiteServer(int port = 7681) : base(port) { public SiteServer(int port = 7681) : base(port) {
this.name = "Site Server"; this.name = "Site Server";
Participant.AddParticipant(this);
// Determine local IP address // Determine local IP address
IPAddress localIpAddress = null; IPAddress localIpAddress = null;

View File

@ -29,7 +29,7 @@ namespace RoboidControl.test {
[Test] [Test]
public void Test_SiteServer() { public void Test_SiteServer() {
SiteServer siteServer = new(); SiteServer siteServer = new SiteServer(7681);
ulong milliseconds = (ulong)DateTimeOffset.UtcNow.ToUnixTimeMilliseconds(); ulong milliseconds = (ulong)DateTimeOffset.UtcNow.ToUnixTimeMilliseconds();
ulong startTime = milliseconds; ulong startTime = milliseconds;