質問編集履歴
1
コードの修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -105,7 +105,7 @@
|
|
105
105
|
|
106
106
|
|
107
107
|
// Packetの送信(SOCKET, Buffer, Datasize, 送信方法)
|
108
|
-
send_buf1[256] = (char)
|
108
|
+
send_buf1[256] = (char)P;
|
109
109
|
|
110
110
|
|
111
111
|
|
@@ -272,7 +272,7 @@
|
|
272
272
|
}
|
273
273
|
|
274
274
|
|
275
|
-
P =(int)
|
275
|
+
P =(int)recv_buf1;
|
276
276
|
//P = atoi(&recv_buf1);
|
277
277
|
std::cout << P << std::endl;
|
278
278
|
|