SCTP Discussions

Text archives Help


Re: [SCTP-Discussion] Regarding IPv4 and IPv6


Chronological Thread 
  • From: Michael Tuexen <Michael.Tuexen AT micmac.franken.de>
  • To: latha Sivalingam <lathasivalingam AT yahoo.com>
  • Cc: discussion AT sctp.de
  • Subject: Re: [SCTP-Discussion] Regarding IPv4 and IPv6
  • Date: Sat Jul 13 19:47:00 2002
  • List-id: SCTP Discussions <discussion.sctp.de>

Dear all,

in the socket call you will use PF_INET or PF_INET6 as the first parameter.
Or AF_INET or AF_INET6. See section 4.2 of Stevens Unix Netwrok Programming.

In the connect call you use pointer to a sockaddr_in or sockaddr_in6 structure
as the second argument (after casting it to a pointer to a sockaddr structure).
You use AF_INET or AF_INET6 for sa_family in the sockaddr structure.

Best regards
Michael

On Friday, July 12, 2002, at 08:58 AM, latha Sivalingam wrote:

Hello All,  We are using PF_INET for IPv4 and PF_INET6 for IPv6.

Won't we get problems when using connect() system call.

 







Get a bigger mailbox -- choose a size that fits your needs.

http://uk.docs.yahoo.com/mail_storage.html
Michael.Tuexen AT micmac.franken.de





Archive powered by MHonArc 2.6.19+.

Top of page