changeset 28 | 9c1050bc8709 |
parent 12 | 4147fae232d9 |
child 118 | 05b8d5150313 |
27:e6639132bead | 28:9c1050bc8709 |
---|---|
81 sock->cb_info->on_read(sock, sock->cb_arg); |
81 sock->cb_info->on_read(sock, sock->cb_arg); |
82 |
82 |
83 if (what & EV_WRITE && sock->cb_info->on_write) |
83 if (what & EV_WRITE && sock->cb_info->on_write) |
84 sock->cb_info->on_read(sock, sock->cb_arg); |
84 sock->cb_info->on_read(sock, sock->cb_arg); |
85 } |
85 } |
86 |
|
87 void sock_stream_release (struct sock_stream *sock) |
|
88 { |
|
89 sock->type->methods.release(sock); |
|
90 } |
|
91 |