Skip to content
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

Сделать серверную часть #5

Closed
gle4er opened this issue Feb 27, 2019 · 0 comments
Closed

Сделать серверную часть #5

gle4er opened this issue Feb 27, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@gle4er
Copy link
Owner

gle4er commented Feb 27, 2019

Написать серверную часть по следующему поведению:

  • каждый клиент подсоединяется к серверу;
  • каждый клиент после соединения ожидает, что получит id в виде переменной типа int;
  • один клиент посылает серверу город типа char* длиной 255 - сервер проверяет у себя: был ли такой город и начинается ли он на последнюю букву;
  • остальные клиенты ждут сообщения от сервера: первое сообщение, где написан город, во втором сообщении, где написан id следующего игрока. Сообщения типа char* длиной 255. Первый элемент говорит: о типе сообщения, остальные элементы - содержимое.
@gle4er gle4er added the enhancement New feature or request label Feb 27, 2019
@gle4er gle4er added this to To do in Делаем курсач via automation Feb 27, 2019
@gle4er gle4er closed this as completed Apr 5, 2019
Делаем курсач automation moved this from To do to Done Apr 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

No branches or pull requests

2 participants