-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dev #12
base: master
Are you sure you want to change the base?
Conversation
ветка конфликтует с мастером :( |
void Close(); | ||
private: | ||
|
||
asio::io_service service; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
плохо, что абстрактный клиент зависит от asio
@@ -0,0 +1,8 @@ | |||
#pragma once | |||
|
|||
class IRecievable { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
receive
c.Connect(5000, "127.0.0.1"); | ||
tcp::endpoint ep( tcp::v4(), 5000); | ||
Server s(ep); | ||
s.Run(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
хотелось бы видеть что-то более содержательное
} else{ | ||
std::cout << "Connect is fine" << std::endl; | ||
} | ||
}); | ||
} | ||
|
||
void Client::Close() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
стоило сделать по RAII-шному
|
||
void Server::accept() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
почему с маленькой буквы?
No description provided.