equal
deleted
inserted
replaced
79 /** |
79 /** |
80 * Get current error_info for \a sock. |
80 * Get current error_info for \a sock. |
81 */ |
81 */ |
82 const struct error_info* sock_stream_error (struct sock_stream *sock); |
82 const struct error_info* sock_stream_error (struct sock_stream *sock); |
83 |
83 |
|
84 /** |
|
85 * Close and release the given socket, ignoring errors. It must not be used anymore after this. |
|
86 * |
|
87 * This is intended to be used to abort in case of errors, and does not close the connection cleanly. |
|
88 */ |
|
89 void sock_stream_release (struct sock_stream *sock); |
|
90 |
84 #endif |
91 #endif |