mirror of
https://github.com/nim-lang/Nim.git
synced 2026-02-23 03:16:53 +00:00
Merge pull request #14265 from alaviss/quickfix
nativesockets: add missing inheritable pass-through
This commit is contained in:
@@ -231,7 +231,7 @@ proc createNativeSocket*(domain: Domain = AF_INET,
|
||||
##
|
||||
## `inheritable` decides if the resulting SocketHandle can be inherited
|
||||
## by child processes.
|
||||
createNativeSocket(toInt(domain), toInt(sockType), toInt(protocol))
|
||||
createNativeSocket(toInt(domain), toInt(sockType), toInt(protocol), inheritable)
|
||||
|
||||
proc newNativeSocket*(domain: Domain = AF_INET,
|
||||
sockType: SockType = SOCK_STREAM,
|
||||
|
||||
Reference in New Issue
Block a user