lsnes/include/video/tcp.hpp
Ilari Liusvaara b00ccb2731 Refactor TCP dumping
This is in preparation for having JMD dumper also support dump over
TCP/IP.

Also fix some bugs in dumping (especially over TCP/IP)
2012-04-06 13:35:12 +03:00

23 lines
396 B
C++

#ifndef _tcp__hpp__included__
#define _tcp__hpp__included__
#include <iostream>
#include <string>
#include <vector>
class socket_address
{
public:
socket_address(const std::string& spec);
socket_address next();
std::ostream& connect();
static bool supported();
private:
socket_address(int f, int st, int p);
int family;
int socktype;
int protocol;
std::vector<char> memory;
};
#endif