blob: 655ce6ed3f82fd0904f9aa4ae7421b1e79479c52 [file] [log] [blame]
/**
* @author: Jeff Thompson
* See COPYING for copyright and distribution information.
*/
#ifndef NDN_TRANSPORT_HPP
#define NDN_TRANSPORT_HPP
namespace ndn {
class Transport {
public:
virtual void connect(const char *host, unsigned short port);
virtual void send(unsigned char *data, unsigned int dataLength);
virtual unsigned int receive(unsigned char *buffer, unsigned int bufferLength);
};
}
#endif