CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 15 of 41

Threaded View

  1. #24
    Join Date
    Jan 2010
    Posts
    13

    Re: SCTP protocol support on MS Windows, looking for help

    Brucec, doesn't the GetAddrInfo support SOCK_SEQPACKET? I was trying to do the following:

    memset(&hints, 0, sizeof(hints));
    hints.ai_family = PF_UNSPEC; // or AF_INET or AF_INET6
    hints.ai_socktype = SOCK_SEQPACKET;

    error = GetAddrInfo(argv[1], argv[2], &hints, &res0);

    But always I get error message: "The support for the specified socket type does not exist in this address family."
    Last edited by topuser; February 17th, 2010 at 11:22 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured