View Single Post
Old 04-13-2005, 03:33 PM  
mr_F_2
Senior Member
 
Join Date: Jan 2004
Posts: 203
Default

Quote:
Originally posted by deo
ok, got rid of them, now i got this:

Code:
/*
 * Microsoft extended APIs.
 */
int
PASCAL FAR
WSARecvEx (
    SOCKET s,
    char FAR *buf,
    int len,
    int FAR *flags
    );


c:\program files\microsoft visual studio\vc98\include\mswsock.h(68) : error C2146: syntax error : missing ';' before identifier 'FAR'
c:\program files\microsoft visual studio\vc98\include\mswsock.h(68) : fatal error C1004: unexpected end of file found

welcome to dumbass materclass :/
i might be wrong, but shouldn't there be semi colons after each line?
SOCKET s;
char FAR *buf;
int len;
int FAR *flags;

and this:
Quote:
int
PASCAL FAR
looks like a double definnition

try using the winsock2.h instead man, mswinsock seems to hate you
mr_F_2 is offline