Updated include and added byte receivement
This commit is contained in:
parent
bd0966e847
commit
231de544ee
1 changed files with 2 additions and 1 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
#include "Logger.hpp"
|
#include "Logger.hpp"
|
||||||
#include "Socket.hpp"
|
#include "Socket.hpp"
|
||||||
|
|
||||||
#include <winsock.h>
|
#include <winsock2.h>
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
|
|
@ -24,6 +24,7 @@ int main() {
|
||||||
* 2. Parse bytes from packet
|
* 2. Parse bytes from packet
|
||||||
* 3. Put into components understandable for server
|
* 3. Put into components understandable for server
|
||||||
*/
|
*/
|
||||||
|
uint8_t buffer[131] = recv(clientSocket, buffer, sizeof(buffer), 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue