Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Using the mswsock.lib in BorlandC++ Builder

I am trying to make an internet app in BorlandC++ builder.

I added mswsock.lib to the makefile.

In the beginning of my unit I wrote:

__declspec(dllimport) Connect(int Port, char Ip);

But all I got is a linker error. Anyone who can give me a clue, how to do?

I am pretty sure there is a function called Connect but I suppose I didn't

declare it right. But how should I declare it? I also want to know how to

declare some other important functions in this lib.

Sign In or Register to comment.