Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Socket IPV6/IPV4

Status
Not open for further replies.

jimmies

Technical User
Mar 7, 2007
18
BE
Hello All
I have a question regarding the way the socket are created in solaris.
to my knowledge a socket is uniquely identified by a 5-tuple.
So I can not have 2 socket (with same protocol,IPs) listening to the same port on the same server.
I noticed that I could create a socket with IPV6 to listen on port 8080(wildcard IP) and create a second socket with IPV4 to the same port (wildcard IP).
Is this behaviour expected? am I missing something?
 
I see no reason why you shouldn't be able to do that. IPv4 and IPv6 are different protocols, after all.

Annihilannic.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top