lorman,
What are you trying to accomplish here? Bind is a function that is part of the socket library that gives a socket its name. Do you want to connect to a socket in LabVIEW? You can use the TCP/IP functions. Or, you can create a shared library (.dll or .so) to run this C++ code for you and use the results in LabVIEW.
Please provide as much information as you can.
Randy Hoskin
Applications Engineer
National Instruments
http://www.ni.com/ask