📄 rtpinterface.h
字号:
// RTPInterface.h: interface for the RTPInterface class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_RTPINTERFACE_H__448DE26C_5719_4C39_ACC1_7E544A7EFCA1__INCLUDED_)
#define AFX_RTPINTERFACE_H__448DE26C_5719_4C39_ACC1_7E544A7EFCA1__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "winsock.h"
#include <list>
using namespace std;
#include "Type.h"
class RTPInterface
{
public:
static RTPInterface * createNew();
RTPInterface(SOCKET s);
virtual ~RTPInterface();
int sendPacket(unsigned char * packet,unsigned long packetSize);
unsigned short GetBindPort();
void AddRtpDest(char * destIP,unsigned short destPort);
void RemoveRtpDest(char * destIP,unsigned short destPort);
private:
SOCKET m_s;
unsigned short m_BindPort;
list<TYPE_RTP_DEST*> m_lstRtpDest;
};
#endif // !defined(AFX_RTPINTERFACE_H__448DE26C_5719_4C39_ACC1_7E544A7EFCA1__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -