telnetpkt.msg

来自「good examples for omnet++」· MSG 代码 · 共 27 行

MSG
27
字号
//
// This file is part of an OMNeT++/OMNEST simulation example.
//
// Copyright (C) 1992-2005 Andras Varga
//
// This file is distributed WITHOUT ANY WARRANTY. See the file
// `license' for details on this and other legal matters.
//

cplusplus {{
#include "netpkt_m.h"
}};

message NetPkt;

//
// Message class for representing a Telnet packet (bytes carried in TCP).
// For purposes of this model, we don't care about TCP connection setup
// and teardown, about TCP acks, or finite IP packet size.
//
message TelnetPkt extends NetPkt
{
    fields:
        string payload;
};

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?