Closed malcommac closed 2 years ago
This is a generic POSIX socket wrapper, you can use it for client, server, etc. It can be bound to IPv4, IPv6, Netlink, Bluetooth HCI, Bluetooth L2CAP, or any other socket address family your OS supports. The System
package has a list of supported Address families for macOS and Linux:
https://github.com/PureSwift/swift-system/blob/master/Sources/System/Socket/SocketAddressFamily.swift
Also check out these uses:
https://github.com/PureSwift/Netlink/blob/master/Sources/Netlink/Socket.swift
https://github.com/PureSwift/BluetoothLinux/blob/master/Sources/BluetoothLinux/L2CAP/L2CAPSocket.swift
https://github.com/PureSwift/BluetoothLinux/blob/master/Sources/BluetoothLinux/HCI/HostController.swift
Hi, thanks for the project. Is there any plan to also add socket server?