2014年11月19日 - The one liner : bind() to own address, connect() to remote address. Quoting from the man page of bind(). bind() assigns the address specified by addr ...
stackoverflow.com