commit | 6c0a04e19611448bf03ce2c90694ce8ad2cfb1d2 | [log] [tgz] |
---|---|---|
author | Holger Hans Peter Freyther <zecke@selfish.org> | Fri Mar 26 10:41:20 2010 +0100 |
committer | Holger Hans Peter Freyther <zecke@selfish.org> | Tue Jun 15 20:24:08 2010 +0800 |
tree | f0171793156649ef450f0f4e8f407043c1108a75 | |
parent | 7c99d4fbf05fe9e7c2b2b12b145567887d495dd0 [diff] |
bsc_msc: Connect in a non blocking way to the MSC The latency of setting up of the TCP connection can be quite high, it is better to connect in a non blocking way. This code is working by setting the socket nonblocking and temporarily replacing the bfd callback with the connect handling. Once the OS has connected our socket we switch back to normal operation.