layer_0 - ryzom/ryzomcore GitHub Wiki


title: Layer 0 description: Data Transfer Layer published: true date: 2023-03-01T05:17:53.933Z tags: editor: markdown dateCreated: 2022-03-08T03:34:02.416Z

This is the bottom layer of the NeL networking module and is commonly referred to as Network Layer 0 in the NeL 5 layer architecture. It is responsible for abstracting the local API (POSIX, WinSock, etc) from the rest of the networking system. As developer using NeL you will not be expected to work with classes in this layer, such as CSock, CTcpSock and CUdpSock. Only NeL developers seeking to add functionality, such as IPv6 or some other protocol, would work at this layer.

Layer 0 includes the following classes:

  • CSock: Base interface and behavior definition for hierarchical descendents
  • CTcpSock: Implementation of a socket class for the TCP/IP protocol
  • CUdpSock: Implementation of a socket class for the UDP protocol
⚠️ **GitHub.com Fallback** ⚠️