aboutsummaryrefslogtreecommitdiffstats
path: root/lib/orber/src/orber_socket.erl
diff options
context:
space:
mode:
authorLars Thorsen <[email protected]>2014-06-26 14:22:45 +0200
committerLars Thorsen <[email protected]>2014-06-26 14:22:45 +0200
commit603280480adac3ff698db538d26966ecfb46d499 (patch)
tree3855c8157f122612ffb895a2c028ec1c6583c3d4 /lib/orber/src/orber_socket.erl
parent9d2abccb228e8288633d392240519138740d41e6 (diff)
downloadotp-603280480adac3ff698db538d26966ecfb46d499.tar.gz
otp-603280480adac3ff698db538d26966ecfb46d499.tar.bz2
otp-603280480adac3ff698db538d26966ecfb46d499.zip
[orber] Update documentation and fix testcase for IPv4/IPv6
Diffstat (limited to 'lib/orber/src/orber_socket.erl')
-rw-r--r--lib/orber/src/orber_socket.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/orber/src/orber_socket.erl b/lib/orber/src/orber_socket.erl
index 5c79100b94..c8d2f0636b 100644
--- a/lib/orber/src/orber_socket.erl
+++ b/lib/orber/src/orber_socket.erl
@@ -208,6 +208,7 @@ listen(normal, Port, Options, Exception) ->
Options4 = [binary, {packet,cdr}, {keepalive, Keepalive},
{reuseaddr,true}, {backlog, Backlog} |
Options3],
+
case catch gen_tcp:listen(Port, Options4) of
{ok, ListenSocket} ->
{ok, ListenSocket, check_port(Port, normal, ListenSocket)};