• Alexey Borzenkov's avatar
    net: implement non-blocking connect · 2f45f72d
    Alexey Borzenkov authored
    Refactored bind/connect from sock.go into netFD.connect(), as
    a consequence newFD() doesn't accept laddr/raddr anymore, and
    expects an (optional) call to netFD.connect() followed by a
    call to netFD.setAddr().
    Windows code is updated, but still uses blocking connect,
    since otherwise it needs support for ConnectEx syscall.
    
    R=brainman, rsc
    CC=golang-dev
    https://golang.org/cl/4303060
    2f45f72d
Name
Last commit
Last update
doc Loading commit data...
include Loading commit data...
lib Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...