1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

net: make net.socket.write, net.socket.read_line more robust

This commit is contained in:
Delyan Angelov
2019-11-18 23:13:14 +02:00
committed by Alexander Medvednikov
parent 1ccd1979a4
commit c73f34cc5f
5 changed files with 103 additions and 62 deletions

View File

@ -9,3 +9,7 @@ module net
fn error_code() int {
return C.errno
}
pub const (
MSG_NOSIGNAL = 0x4000
)