Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Winsock Errors

Status
Not open for further replies.

bont

Programmer
Sep 7, 2000
200
US
I am trying to execute a sample program, and I am not able to get it to compile. I believe the problem to be a C and object related. I get the familiar error:

udpechos_cnls.obj : error LNK2001: unresolved external symbol "unsigned int __cdecl passiveUDP(char const *)" (?passiveUDP@@YAIPBD@Z)

Now, the program is to be a UDP echo server, and I believe it is saying that the following line is incorrect:

SOCKET passiveUDP(const char *);

I am using MS Visual C++ 6.0. Can anyone help, please.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top