First commit

This commit is contained in:
Bart committed 2019-11-11 23:39:22 +01:00
1 parent 36d5802aa7
commit 436a5acecc
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -60,6 +60,8 @@ namespace AccelVisualizer
//AxisUnit lets the axis know that we are plotting in seconds //AxisUnit lets the axis know that we are plotting in seconds
AxisUnit = 1; AxisUnit = 1;
Show();
//Init the UDP socket //Init the UDP socket
UDPSocket.InitSocket(); UDPSocket.InitSocket();
@@ -78,8 +80,6 @@ namespace AccelVisualizer
DataContext = this; DataContext = this;
this.Show();
listening = true; listening = true;
//Start new thread for package listener //Start new thread for package listener
+1 -1
View File
@@ -16,7 +16,7 @@ namespace AccelVisualizer
//Socket //Socket
static Socket sender; static Socket sender;
static IPHostEntry ipHostInfo = Dns.GetHostEntry(Dns.GetHostName()); static IPHostEntry ipHostInfo = Dns.GetHostEntry(Dns.GetHostName());
static IPAddress ipAddress = IPAddress.Parse("192.168.0.109"); static IPAddress ipAddress = IPAddress.Parse("192.168.120.106");
static IPEndPoint remoteEP; static IPEndPoint remoteEP;
public static void InitSocket() public static void InitSocket()