Lua: Fix type confusion between signed and unsigned
[lsnes.git] / include / video / tcp.hpp
blob25dac522ceaa1cc2f1613ce5e81bfc0c31595dea
1 #ifndef _tcp__hpp__included__
2 #define _tcp__hpp__included__
4 #include <iostream>
5 #include <string>
6 #include <vector>
8 typedef void (*deleter_fn_t)(void*);
10 class socket_address
12 public:
13 socket_address(const std::string& spec);
14 socket_address next();
15 std::ostream& connect();
16 static deleter_fn_t deleter();
17 static bool supported();
18 private:
19 socket_address(int f, int st, int p);
20 int family;
21 int socktype;
22 int protocol;
23 std::vector<char> memory;
26 #endif