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

Thread: Winsock

  1. #1
    Join Date
    Aug 2000
    Posts
    13

    Winsock

    I've added a winsock control to my form but keep getting the error message:

    Run-time error '10044':

    Socket type not supported in this address family

    Eh???


  2. #2
    Join Date
    Sep 2000
    Location
    Ottawa, Ontario
    Posts
    356

    Re: Winsock

    make sure you set this property to one of those below.

    Winsock1.Protocol = sckTCPProtocol
    Winsock1.Protocol = sckUDPProtocol

    I suspect you are tying to use Raw socket (sock_raw) this is not supported on the OCX.


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