mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-08 11:42:17 +02:00
24 lines
489 B
C++
24 lines
489 B
C++
//
|
|
// agent.h
|
|
// interface
|
|
//
|
|
// Created by Philip Rosedale on 11/20/12.
|
|
// Copyright (c) 2012 __MyCompanyName__. All rights reserved.
|
|
//
|
|
|
|
#ifndef interface_agent_h
|
|
#define interface_agent_h
|
|
|
|
#include "glm/glm.hpp"
|
|
#include <sys/socket.h>
|
|
#include <netinet/in.h>
|
|
#include <arpa/inet.h>
|
|
#include <fcntl.h>
|
|
#include <string.h>
|
|
#include "network.h"
|
|
|
|
void update_agents(char * data, int length);
|
|
int add_agent(std::string * IP);
|
|
int broadcast(int handle, char * data, int length);
|
|
|
|
#endif
|