Alot of changes.

This commit is contained in:
Brad Arant committed 2019-05-21 16:41:07 -07:00
1 parent f894f3fb66
commit 9c0ea8e559
43 files changed
+697 -79

No files matched your search

+4 -6
View File
@@ -44,18 +44,16 @@ namespace core {
//
}
int UDPServerSocket::processCommand(Session *session) {
int UDPServerSocket::processCommand(std::string request, std::stringstream &data) {
std::stringstream out;
int sequence = 0;
for(auto *session : sessions) {
out << "|" << ++sequence;
session->output(session);
out << "|" << std::endl;
data << "|" << ++sequence;
session->output(data);
data << "|" << std::endl;
}
session->write(out.str());
}
}