File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -152,8 +152,7 @@ interface types {
152
152
/// - <https://man7.org/linux/man-pages/man2/socket.2.html>
153
153
/// - <https://learn.microsoft.com/en-us/windows/win32/api/winsock2/nf-winsock2-wsasocketw>
154
154
/// - <https://man.freebsd.org/cgi/man.cgi?query=socket&sektion=2>
155
- @since (version = 0.3.0-rc-2025-08-15 )
156
- create : static func (address-family : ip-address-family ) -> result <tcp-socket , error-code >;
155
+ constructor (address-family : ip-address-family ) -> result<tcp-socket, error-code>;
157
156
158
157
/// Bind the socket to the provided IP address and port.
159
158
///
@@ -511,8 +510,7 @@ interface types {
511
510
/// - <https://man7.org/linux/man-pages/man2/socket.2.html>
512
511
/// - <https://learn.microsoft.com/en-us/windows/win32/api/winsock2/nf-winsock2-wsasocketw>
513
512
/// - <https://man.freebsd.org/cgi/man.cgi?query=socket&sektion=2>
514
- @since (version = 0.3.0-rc-2025-08-15 )
515
- create : static func (address-family : ip-address-family ) -> result <udp-socket , error-code >;
513
+ constructor (address-family : ip-address-family ) -> result<udp-socket, error-code>;
516
514
517
515
/// Bind the socket to the provided IP address and port.
518
516
///
You can’t perform that action at this time.
0 commit comments