Posted on 1998-11-13
I've got problems on compiling my .dll program using Mic Visual C++. I've got this error:
error C2709: 'iaddr' uses undefined struct 'in_addr'
error C2709: 'local_addr' uses undefined struct 'sockaddr_in'
error C2146: missing ......and a few errors
I'm compiling nsapi program example which include netinet/in.h (UNIX environment), so i just delete/comment the statement. And in windows environment, it use winsock.h, am i correct?.
What are the solutions...do i need to link to any library file?
Thanks in advance,