mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-27 23:51:04 +08:00
Added comment to sockaddr_storage
This commit is contained in:
parent
e38166cc1b
commit
75579fe7d9
@ -435,6 +435,7 @@ bool zmq::select_t::is_retired_fd (const fd_entry_t &entry)
|
||||
#if defined ZMQ_HAVE_WINDOWS
|
||||
u_short zmq::select_t::get_fd_family (fd_t fd_)
|
||||
{
|
||||
// Use sockaddr_storage instead of sockaddr to accomodate differect structure sizes
|
||||
sockaddr_storage addr = { 0 };
|
||||
int addr_size = sizeof addr;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user