質問編集履歴
1
IPaddressの修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -34,7 +34,7 @@
|
|
34
34
|
import java.sql.Statement;
|
35
35
|
|
36
36
|
public class TCPWrite {
|
37
|
-
public static final int SERVER_PORT =
|
37
|
+
public static final int SERVER_PORT = 5431;
|
38
38
|
public static final int PACKET_SIZE = 1024;
|
39
39
|
|
40
40
|
public static void main(String[] args) {
|
@@ -64,7 +64,7 @@
|
|
64
64
|
private static final int BUFSIZE = 1024; // 受信バッファサイズ
|
65
65
|
private Socket socket;
|
66
66
|
|
67
|
-
private static String url = "jdbc:mysql://192.168.
|
67
|
+
private static String url = "jdbc:mysql://192.168.82.89:3306/wifi_db";
|
68
68
|
private static String driver = "com.mysql.jdbc.Driver";
|
69
69
|
private static String id = "wifi";
|
70
70
|
private static String pass = "neuro";
|