fio ~master (2018-11-14T23:52:16Z)
Dub
Repo
socketEnforce
io
socket
stream
Enforce that
check
is true, and throw a
SocketException
if it isn't.
void
socketEnforce
(
string
file
= __FILE__
size_t
line
= __LINE__
)
(
bool
check
,
lazy
string
msg
= null
)
Meta
Source
See Implementation
io
socket
stream
aliases
SocketStream
UnbufferedSocketStream
functions
acceptStream
socketEnforce
structs
SocketStreamBase
UnbufferedSocketStreamBase
Enforce that check is true, and throw a SocketException if it isn't.