First commit
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user