diff options
author | Jonas Falkevik <[email protected]> | 2012-07-20 00:05:30 +0200 |
---|---|---|
committer | Henrik Nord <[email protected]> | 2012-10-08 11:00:53 +0200 |
commit | 5030da383c44c66aca861b3a56d0e310d7de6997 (patch) | |
tree | e4d1619a2c01c3050f682a6e050e6afaf3dad894 /lib/kernel | |
parent | 1b034d4f9511d5ff62c3fc9ed6f9632cc8e8b7d7 (diff) | |
download | otp-5030da383c44c66aca861b3a56d0e310d7de6997.tar.gz otp-5030da383c44c66aca861b3a56d0e310d7de6997.tar.bz2 otp-5030da383c44c66aca861b3a56d0e310d7de6997.zip |
Set new peeled off SCTP socket to nonblocking socket
Peeloff feature of SCTP association creates a new socket which is not
set to nonblocking.
Function for receving data is shared with udp which has a default
loop when reading packets which is set to 5.
Calling the receive function more then once, is fine as long as
there are more data to receive or socket are nonblocking.
Set new peeled off socket to be nonblocking to prevent a erlang vm hangup.
Diffstat (limited to 'lib/kernel')
0 files changed, 0 insertions, 0 deletions