A Discrete-Event Network Simulator
Home
Tutorials ▼
English
Documentation ▼
Installation
Manual
Models
Contributing
Wiki
Development ▼
API Docs
Issue Tracker
Merge Requests
API
Loading...
Searching...
No Matches
tcp-socket-factory.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2007 Georgia Tech Research Corporation
3
*
4
* SPDX-License-Identifier: GPL-2.0-only
5
*
6
* Author: Raj Bhattacharjea <raj.b@gatech.edu>
7
*/
8
#ifndef TCP_SOCKET_FACTORY_H
9
#define TCP_SOCKET_FACTORY_H
10
11
#include "ns3/socket-factory.h"
12
13
namespace
ns3
14
{
15
16
class
Socket;
17
18
/**
19
* \ingroup socket
20
* \ingroup tcp
21
*
22
* \brief API to create TCP socket instances
23
*
24
* This abstract class defines the API for TCP sockets.
25
* This class also holds the global default variables used to
26
* initialize newly created sockets, such as values that are
27
* set through the sysctl or proc interfaces in Linux.
28
29
* All TCP socket factory implementations must provide an implementation
30
* of CreateSocket
31
* below, and should make use of the default values configured below.
32
*
33
* \see TcpSocketFactoryImpl
34
*
35
*/
36
class
TcpSocketFactory
:
public
SocketFactory
37
{
38
public
:
39
/**
40
* Get the type ID.
41
* \brief Get the type ID.
42
* \return the object TypeId
43
*/
44
static
TypeId
GetTypeId
();
45
};
46
47
}
// namespace ns3
48
49
#endif
/* TCP_SOCKET_FACTORY_H */
ns3::SocketFactory
Object to create transport layer instances that provide a socket API to applications.
Definition
socket-factory.h:38
ns3::TcpSocketFactory
API to create TCP socket instances.
Definition
tcp-socket-factory.h:37
ns3::TcpSocketFactory::GetTypeId
static TypeId GetTypeId()
Get the type ID.
Definition
tcp-socket-factory.cc:19
ns3::TypeId
a unique identifier for an interface.
Definition
type-id.h:48
ns3
Every class exported by the ns3 library is enclosed in the ns3 namespace.
src
internet
model
tcp-socket-factory.h
Generated on Fri Nov 8 2024 13:59:01 for ns-3 by
1.11.0