[erlang-questions] Inets socket_type, what's ip_comm and how order IPvX sockets?
Mon Sep 19 19:14:28 CEST 2016
I'm using tsung and it open a HTTP server to give me good things by inets
 But it open just IPv6 sockets and TCP connections over IPv4 connections
will fail. I looked into inets to find how it finds to open IPv4 or IPv6
sockets and saw socket_type which defaults to ip_comm.  What is this?
mean IPv4 or IPv6 if system support? Can I provide inets more information
listen to both IPv4 and IPv6?
I think for listenning on both IPv4 and IPv6 using same port number, one
open two sockets and set REUSE_PORT option. Can inets understand this by
looking to socket_type or something? Can I (in inets:start call) tell I
IPv4 sockets? Or tell inets lib totally forget about IPv6 and open IPv4
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions