示例#1
0
文件: Ssdp.cpp 项目: DoomHammer/ohNet
void Ssdp::WriteSubTypeByeBye(IWriterHttpHeader& aWriter)
{
    aWriter.WriteHeader(Ssdp::kHeaderNts, kByeBye);
}
示例#2
0
文件: Ssdp.cpp 项目: DoomHammer/ohNet
void Ssdp::WriteSubTypeAlive(IWriterHttpHeader& aWriter)
{
    aWriter.WriteHeader(Ssdp::kHeaderNts, kAlive);
}
示例#3
0
文件: Ssdp.cpp 项目: DoomHammer/ohNet
void Ssdp::WriteMan(IWriterHttpHeader& aWriter)
{
    aWriter.WriteHeader(Ssdp::kHeaderMan, kMsearchDiscover);
}
示例#4
0
文件: Ssdp.cpp 项目: DoomHammer/ohNet
void Ssdp::WriteSearchTypeAll(IWriterHttpHeader& aWriter)
{
    aWriter.WriteHeader(Ssdp::kHeaderSt, kMsearchAll);
}
示例#5
0
文件: Ssdp.cpp 项目: DoomHammer/ohNet
void Ssdp::WriteHost(IWriterHttpHeader& aWriter)
{
    aWriter.WriteHeader(Ssdp::kHeaderHost, Ssdp::kMulticastAddressAndPort);
}