2016-02-02 11:47 GMT+01:00 翟帅 <[email protected]>:
> How to set the source port in the UDP socket in libuv?

Just set the sin_port or sin6_port field of the sockaddr struct before
calling uv_udp_bind() with it.

BTW: Please, use plain text (no bold nor underlined text...)


-- 
Iñaki Baz Castillo
<[email protected]>

-- 
You received this message because you are subscribed to the Google Groups 
"libuv" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/libuv.
For more options, visit https://groups.google.com/d/optout.

Reply via email to