Last message key was closing the socket earlier than I expected
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38419 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -96,5 +96,7 @@ int main(int argc, char **argv)
|
|||||||
|
|
||||||
printf("Transmission done ... (press key to close socket)\n");
|
printf("Transmission done ... (press key to close socket)\n");
|
||||||
getchar();
|
getchar();
|
||||||
|
getchar();
|
||||||
|
printf("Closing ... \n");
|
||||||
close(sock);
|
close(sock);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user