blob: 85fe1b7a8c10ecfba73eb49a4cb6866d91daab77 [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(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