-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[DRAFT] Initial socket support #30
Draft
milseman
wants to merge
27
commits into
apple:main
Choose a base branch
from
milseman:network_receptacles
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Commits on Apr 10, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 6f8cf01 - Browse repository at this point
Copy the full SHA 6f8cf01View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6e4b421 - Browse repository at this point
Copy the full SHA 6e4b421View commit details -
Configuration menu - View commit details
-
Copy full SHA for d9a1323 - Browse repository at this point
Copy the full SHA d9a1323View commit details -
Configuration menu - View commit details
-
Copy full SHA for 22f9f41 - Browse repository at this point
Copy the full SHA 22f9f41View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9b4700f - Browse repository at this point
Copy the full SHA 9b4700fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9014393 - Browse repository at this point
Copy the full SHA 9014393View commit details -
Configuration menu - View commit details
-
Copy full SHA for aae1ff5 - Browse repository at this point
Copy the full SHA aae1ff5View commit details -
Add nice wrappers for sockaddr and sockaddr_in (#1)
Add Swifty wrappers for socket and IP addresses
Configuration menu - View commit details
-
Copy full SHA for 3d532f3 - Browse repository at this point
Copy the full SHA 3d532f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 241fbbd - Browse repository at this point
Copy the full SHA 241fbbdView commit details -
Update Sources/System/Sockets/SocketOperations.swift
Co-authored-by: Kyle Macomber <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4f6b42f - Browse repository at this point
Copy the full SHA 4f6b42fView commit details -
Update Sources/System/Sockets/SocketOperations.swift
Co-authored-by: Kyle Macomber <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a962528 - Browse repository at this point
Copy the full SHA a962528View commit details -
Implement local addresses, address families, sendmsg/recvmsg (#2)
* Implement UNIX domain socket addresses * Implement standalone SocketAddress.Family enum * Add availability comments * [WIP] Implement sendmsg/rcvmsg * SocketAddress: Use _RawBuffer. * ControlMessageBuffer: Fix issues uncovered in testing * Enums: use mutable rawValues This helps simplify code that needs to update these directly. * Update/simplify sendmsg/recvmsg implementations * Mocking: Add support for wildcard argument matching * Add some AncillaryMessageBuffer tests; fix issues. * Apply suggestions from code review Co-authored-by: Michael Ilseman <[email protected]> * Make mock failure output a little easier to follow * Implement support for getaddrinfo * Add an executable with very simple sample code * Add availability marker for new CInterop typealiases * Do not use implicitly unwrapped optionals * Rework sendmsg/recvmsg, make some samples * Updates/cleanups/discussion results Co-authored-by: Michael Ilseman <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bca51a4 - Browse repository at this point
Copy the full SHA bca51a4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 661207f - Browse repository at this point
Copy the full SHA 661207fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 763febd - Browse repository at this point
Copy the full SHA 763febdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5eec031 - Browse repository at this point
Copy the full SHA 5eec031View commit details -
Configuration menu - View commit details
-
Copy full SHA for 898e0ef - Browse repository at this point
Copy the full SHA 898e0efView commit details -
Configuration menu - View commit details
-
Copy full SHA for 84846f7 - Browse repository at this point
Copy the full SHA 84846f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 008dc40 - Browse repository at this point
Copy the full SHA 008dc40View commit details -
Configuration menu - View commit details
-
Copy full SHA for ef5f7f5 - Browse repository at this point
Copy the full SHA ef5f7f5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0fdf652 - Browse repository at this point
Copy the full SHA 0fdf652View commit details -
* Update getsockopt/setsockopt * Add getsockopt/setsockopt docs * Doc updates
Configuration menu - View commit details
-
Copy full SHA for 4afc2de - Browse repository at this point
Copy the full SHA 4afc2deView commit details -
* Update getsockopt/setsockopt * Add getsockopt/setsockopt docs * Doc updates * Add overloads for bind/connect taking concrete address types * ShutdownKind: Remove Codable conformance. * Listen: close the client connection socket before exiting This is supposed to demonstrate acceptable use, we can’t leave resource cleanup to exit() * Make IPv4.Address and IPv6.Address expressible by string literals * Document SocketAddress better.
Configuration menu - View commit details
-
Copy full SHA for 051731d - Browse repository at this point
Copy the full SHA 051731dView commit details -
Configuration menu - View commit details
-
Copy full SHA for e7f6310 - Browse repository at this point
Copy the full SHA e7f6310View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2b0b28c - Browse repository at this point
Copy the full SHA 2b0b28cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 485efdd - Browse repository at this point
Copy the full SHA 485efddView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e38f69 - Browse repository at this point
Copy the full SHA 4e38f69View commit details -
Configuration menu - View commit details
-
Copy full SHA for ce12fda - Browse repository at this point
Copy the full SHA ce12fdaView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.