The loop is processing incoming messages and, if necessary, sending a response. But there are situations when you do not need to send an answer. Is it possible to prohibit a socket (for example, from another thread) to send messages without closing it, and then also allow it? I would not want to rewrite a bunch of methods for this, so I’m looking for an opportunity to make it easier.
if (условие) {отправка сообщения} else выход? - tym32167на данном этапе в связи с возникшими обстоятельствами мне было бы удобно сделать именно так- you are only doing yourself worse. All debts with these words are added. - tym32167 1:59 pm