aboutsummaryrefslogtreecommitdiff
path: root/test/org
diff options
context:
space:
mode:
Diffstat (limited to 'test/org')
-rw-r--r--test/org/traccar/server/SocketCliente.java44
1 files changed, 0 insertions, 44 deletions
diff --git a/test/org/traccar/server/SocketCliente.java b/test/org/traccar/server/SocketCliente.java
deleted file mode 100644
index c26c02e49..000000000
--- a/test/org/traccar/server/SocketCliente.java
+++ /dev/null
@@ -1,44 +0,0 @@
-package org.traccar.server;
-
-import java.io.IOException;
-import java.io.PrintStream;
-import java.net.Socket;
-
-public class SocketCliente {
-
- /**
- * @param args
- */
- public void SendMSG(String url, int port, String msg) {
-
- Socket s = null;
-
- PrintStream ps = null;
-
- try {
-
- s = new Socket(url, port);
-
- ps = new PrintStream(s.getOutputStream());
-
- ps.println(msg);
-
- System.out.println("send");
-
- } catch (IOException e) {
-
- System.out
- .println("Some problem happened on send data to socket.");
-
- } finally {
-
- try {
- s.close();
- } catch (IOException e) {
- }
-
- }
-
- }
-
-}