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. C / C++ / MFC
  4. bind function in SDK

bind function in SDK

Scheduled Pinned Locked Moved C / C++ / MFC
3 Posts 3 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.
  • V Offline
    V Offline
    vibindia
    wrote on last edited by
    #1

    Can any one explain in brief the bind function in SDK for Socket programming "Assigns a local name to an unnamed socket":((

    VIBIN Sim Infosys

    L T 2 Replies Last reply
    0
    • V vibindia

      Can any one explain in brief the bind function in SDK for Socket programming "Assigns a local name to an unnamed socket":((

      VIBIN Sim Infosys

      L Offline
      L Offline
      Laxman Auti
      wrote on last edited by
      #2

      VIBIN wrote:

      Can any one explain in brief the bind function in SDK for Socket programming "Assigns a local name to an unnamed socket"

      The bind function is used on an unconnected socket before subsequent calls to the connect or listen functions. It is used to bind to either connection-oriented (stream) or connectionless (datagram) sockets. When a socket is created with a call to the socket function, it exists in a namespace (address family), but it has no name assigned to it. Use the bind function to establish the local association of the socket by assigning a local name to an unnamed socket. ref: from MSDN 2005. Knock out 't' from can't, You can if you think you can :cool:

      1 Reply Last reply
      0
      • V vibindia

        Can any one explain in brief the bind function in SDK for Socket programming "Assigns a local name to an unnamed socket":((

        VIBIN Sim Infosys

        T Offline
        T Offline
        TheDelChop
        wrote on last edited by
        #3

        yeah, bind simply finds and open and available socket to commense ethernet communication. Without a binded socket, (an address through which the computer knows it can send data) it is impossible to process function like send and recv.

        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