2015-08-06 14:25:29 +02:00
|
|
|
# Socket
|
|
|
|
|
2015-08-07 01:20:27 +02:00
|
|
|
The socket node-type is the most comprehensive and complex one.
|
|
|
|
It allows to send and receive simulation data over the network.
|
|
|
|
Internally it uses the well known BSD socket API.
|
2015-08-06 14:25:29 +02:00
|
|
|
|
2015-08-07 01:20:27 +02:00
|
|
|
Please note that only datagram / packet, connection-less based network protocols are supported.
|
|
|
|
This means that there's currently no support for TCP!
|
|
|
|
|
|
|
|
The implementation supports multiple protocols / OSI layers:
|
2015-08-06 14:25:29 +02:00
|
|
|
|
|
|
|
- Layer 1: Raw Ethernet Frames (no routing!)
|
|
|
|
- Layer 2: Raw IP (internet / VPN routing possible)
|
|
|
|
- Layer 3: UDP encapsulation
|
2015-08-07 01:20:27 +02:00
|
|
|
|
|
|
|
## Configuration
|
|
|
|
|
|
|
|
`local`
|
|
|
|
|
|
|
|
`remote`
|
|
|
|
|
|
|
|
`netem`
|
|
|
|
|
|
|
|
`layer`
|
|
|
|
|
|
|
|
### Example
|
|
|
|
|
|
|
|
@todo Add excerpt from example.conf
|
|
|
|
|
|
|
|
## Packet Format
|
|
|
|
|
|
|
|
@todo add DIA figure here
|
|
|
|
|
|
|
|
### Example
|
|
|
|
|
|
|
|
@todo add screenshot of wireshark dump
|
|
|
|
|
|
|
|
## Network Emulation
|