A Discrete-Event Network Simulator
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
13namespace ns3
14{
15
16class 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 */
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 */
Object to create transport layer instances that provide a socket API to applications.
API to create TCP socket instances.
static TypeId GetTypeId()
Get the type ID.
a unique identifier for an interface.
Definition type-id.h:48
Every class exported by the ns3 library is enclosed in the ns3 namespace.