[riot-commits] [RIOT-OS/RIOT] 11add4: sockets: implicit bind for connect()

Oleg Hahm oleg at hobbykeller.org
Tue Dec 8 16:35:30 CET 2015


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 11add4d8fdeab63c44bf8920703c3722dade79e6
      https://github.com/RIOT-OS/RIOT/commit/11add4d8fdeab63c44bf8920703c3722dade79e6
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2015-12-08 (Tue, 08 Dec 2015)

  Changed paths:
    M sys/posix/sockets/posix_sockets.c

  Log Message:
  -----------
  sockets: implicit bind for connect()

According to
http://pubs.opengroup.org/onlinepubs/009695399/functions/connect.html
for a "socket [that] has not already been bound to a local address,
connect() shall bind it to an address which, unless the socket's address
family is AF_UNIX, is an unused local address."


  Commit: e8ed9fbe8325dd0e3e3bf1dabd5d7ebf7b81cfb8
      https://github.com/RIOT-OS/RIOT/commit/e8ed9fbe8325dd0e3e3bf1dabd5d7ebf7b81cfb8
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2015-12-08 (Tue, 08 Dec 2015)

  Changed paths:
    M sys/posix/sockets/posix_sockets.c

  Log Message:
  -----------
  Merge pull request #4386 from OlegHahm/posix_sockets_stream_fixes

POSIX sockets: implicit bind for connect()


Compare: https://github.com/RIOT-OS/RIOT/compare/e062a497e93e...e8ed9fbe8325


More information about the commits mailing list