質問編集履歴

1

誤記を修正しました

2018/06/29 01:26

投稿

cafe_takai
cafe_takai

スコア27

test CHANGED
File without changes
test CHANGED
@@ -200,8 +200,6 @@
200
200
 
201
201
  socklen_t len = sizeof(client);
202
202
 
203
- int len = sizeof(client);
204
-
205
203
  if (clientHandle = accept(serverHandle, (struct sockaddr *) &client, &len) < 0)
206
204
 
207
205
  post_error("error: failed to accept client connection");