Compare commits
2 Commits
da1bd1fc61
...
631c3e00b2
Author | SHA1 | Date | |
---|---|---|---|
631c3e00b2 | |||
405fef13b7 |
@ -18,7 +18,6 @@ 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;
|
||||||
|
@ -29,7 +29,7 @@ namespace RoboidControl.test {
|
|||||||
|
|
||||||
[Test]
|
[Test]
|
||||||
public void Test_SiteServer() {
|
public void Test_SiteServer() {
|
||||||
SiteServer siteServer = new SiteServer(7681);
|
SiteServer siteServer = new();
|
||||||
|
|
||||||
ulong milliseconds = (ulong)DateTimeOffset.UtcNow.ToUnixTimeMilliseconds();
|
ulong milliseconds = (ulong)DateTimeOffset.UtcNow.ToUnixTimeMilliseconds();
|
||||||
ulong startTime = milliseconds;
|
ulong startTime = milliseconds;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user