Skip to content

Commit

Permalink
net TcpConn*
Browse files Browse the repository at this point in the history
*imho `handle` should not be public, but currently required to not
produce a big breaking change
  • Loading branch information
ttytm committed Apr 5, 2024
1 parent bd2807f commit c6899c0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions vlib/net/tcp.c.v
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ pub const tcp_default_write_timeout = 30 * time.second
@[heap]
pub struct TcpConn {
pub mut:
sock TcpSocket
mut:
sock TcpSocket
handle int
write_deadline time.Time
read_deadline time.Time
Expand Down

0 comments on commit c6899c0

Please sign in to comment.