mirror of
https://github.com/rofl0r/proxychains-ng
synced 2025-01-08 22:22:52 +08:00
adding comments
This commit is contained in:
parent
e379a8af75
commit
1c8c231272
@ -658,6 +658,8 @@ size_t get_iov_total_len(struct iovec* iov, size_t iov_len){
|
||||
return n;
|
||||
}
|
||||
|
||||
//Tries to write buff_len bytes from buff into the scatter-gather location described by iov and iov_len.
|
||||
//Stops when all iov's buffers are full. Returns the number of bytes written
|
||||
size_t write_buf_to_iov(void* buff, size_t buff_len, struct iovec* iov, size_t iov_len){
|
||||
size_t written = 0;
|
||||
int i = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user