udp-slp.h
来自「the User Agent and Service Agent functio」· C头文件 代码 · 共 16 行
H
16 行
#include "slp/slp-common.h"// UdpSlpAgent Class definitionclass UdpSLPAgent : public UdpAgent {public: UdpSLPAgent(); UdpSLPAgent(packet_t); virtual int supportSLP() { return 1; } virtual void enableSLP() { support_slp_ = 1; } virtual void sendto(int nbytes, const char* flags, ns_addr_t dst); void recv(Packet*, Handler*);protected: int support_slp_; // set to 1 if above is SLPApp};
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?