☆  ''ソケットのローカルアドレスを取得''
''int'' ''&color(Maroon){getsockname};'' ''(''
  ''SOCKET'' s,
  ''struct sockaddr *'' name,
  ''int *'' namelen
'');''

* &tip; パラメータ [#w7608aff]
''s''
-[in] Descriptor identifying a socket.

''name''
-[out] Pointer to a SOCKADDR structure that receives the address (name) of the socket.

''namelen''
-[in, out] Size of the name buffer, in bytes.