Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Managed C++/CLI
  4. Socket function error

Socket function error

Scheduled Pinned Locked Moved Managed C++/CLI
helpcomquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    TeraCoder
    wrote on last edited by
    #1

    Here's some of my code: ... BtCard = socket(AF_BTH, SOCK_STREAM, BTHPROTO_RFCOMM); if(WSAGetLastError() == 10047) { cout << "Address family not supported by protocol family!" << endl; goto GetOut; } ... The socket function call above gives me the error message listed. Checked the help documentation. Here's what "they" says on the use of the function: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/bluetooth/bluetooth/bluetooth_and_socket.asp[^]


    Me, wrong!?! Nah, you just need to change your thinking to make me right.

    P 1 Reply Last reply
    0
    • T TeraCoder

      Here's some of my code: ... BtCard = socket(AF_BTH, SOCK_STREAM, BTHPROTO_RFCOMM); if(WSAGetLastError() == 10047) { cout << "Address family not supported by protocol family!" << endl; goto GetOut; } ... The socket function call above gives me the error message listed. Checked the help documentation. Here's what "they" says on the use of the function: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/bluetooth/bluetooth/bluetooth_and_socket.asp[^]


      Me, wrong!?! Nah, you just need to change your thinking to make me right.

      P Offline
      P Offline
      Paul Selormey
      wrote on last edited by
      #2

      Hello Aaron, Please try the Visual C++ forum for API/VC++/MFC questions. This forum is for MC++. Best regards, Paul. Jesus Christ is LOVE! Please tell somebody.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups