Switching to use networking modules
#story[778]
This commit is contained in:
@@ -31,7 +31,7 @@ public class MockOutput
|
||||
|
||||
|
||||
|
||||
MockOutput() throws IOException{
|
||||
public MockOutput() throws IOException{
|
||||
/*******************************Test********************************/
|
||||
StringBuilder xmlString;
|
||||
|
||||
|
||||
@@ -32,12 +32,11 @@ public class VisualiserInput
|
||||
|
||||
VisualiserInput() throws IOException{
|
||||
|
||||
//sockets to connect to
|
||||
// ServerSocket visualiserSocket = new ServerSocket(4942);
|
||||
// Socket connectionSocket = visualiserSocket.accept();
|
||||
ServerSocket visualiserSocket = new ServerSocket(4942);
|
||||
Socket connectionSocket = visualiserSocket.accept();
|
||||
|
||||
//this is the test data that streams form the AC35 website
|
||||
Socket connectionSocket = new Socket("livedata.americascup.com",4941);
|
||||
// Socket connectionSocket = new Socket("livedata.americascup.com",4941);
|
||||
|
||||
|
||||
//start Time
|
||||
|
||||
Reference in New Issue
Block a user