nativesockets: add missing inheritable pass-through
This commit is contained in:
parent
1a1e9986a3
commit
73a42ce941
1 changed files with 1 additions and 1 deletions
|
|
@ -231,7 +231,7 @@ proc createNativeSocket*(domain: Domain = AF_INET,
|
||||||
##
|
##
|
||||||
## `inheritable` decides if the resulting SocketHandle can be inherited
|
## `inheritable` decides if the resulting SocketHandle can be inherited
|
||||||
## by child processes.
|
## by child processes.
|
||||||
createNativeSocket(toInt(domain), toInt(sockType), toInt(protocol))
|
createNativeSocket(toInt(domain), toInt(sockType), toInt(protocol), inheritable)
|
||||||
|
|
||||||
proc newNativeSocket*(domain: Domain = AF_INET,
|
proc newNativeSocket*(domain: Domain = AF_INET,
|
||||||
sockType: SockType = SOCK_STREAM,
|
sockType: SockType = SOCK_STREAM,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue