diff --git a/server.cpp b/server.cpp index 7a21d9460a73e5309a73276cbc9a625fce0b3f4e..70971dbfcb328427b3f8f2c695d65c164190c852 100644 --- a/server.cpp +++ b/server.cpp @@ -6,6 +6,7 @@ int main(){ int sockt = ConexaoRawSocket(DEVICE); Protocol protocol; + cout << "Você está rodando o servidor Caco\n"; while(true){ int status = protocol.recvMessage(sockt); if(status > 0){ @@ -15,6 +16,7 @@ int main(){ }else if(status == CD){ cd(protocol.getDataAsString()); }else if(status == LS){ + cout << "Recebeu LS"; string output = ls(protocol.getDataAsString()); //TODO: send output back }else if(status == PUT){ @@ -25,4 +27,4 @@ int main(){ } } return 0; -} \ No newline at end of file +}