mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
.clang related fixed (thanks dolik.rce)
git-svn-id: svn://ultimatepp.org/upp/trunk@2836 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
329225fac4
commit
a15de079b6
2 changed files with 8 additions and 4 deletions
|
|
@ -15,7 +15,7 @@ CONSOLE_APP_MAIN
|
|||
Socket s;
|
||||
if(server.Accept(s)) {
|
||||
String w = s.ReadUntil('\n');
|
||||
Cout() << "Request: " << w << " from: " << s.GetPeerName() << '\n';
|
||||
Cout() << "Request: " << w << " from: " << s.GetPeerAddr() << '\n';
|
||||
if(w == "time")
|
||||
s.Write(AsString(GetSysTime()));
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue