You shoud change you declaration from
sockaddr_in s;
to
struct sockaddr_in s;
Sven
> "Jonathan" == Jonathan Lupa <[EMAIL PROTECTED]> writes:
Jonathan> [1 ] I have
Jonathan> this feeling that I'm going to feel terribly stupid once
Jonathan> someone tells me what I'm doing wrong
#include
--
/bin/sh ~/.signature:
Command not found
I have this feeling that I'm going to feel terribly stupid once
someone tells me what I'm doing wrong, but
===
#include
#include
int main( const int argc, const char * argv[] )
{
sockaddr_in s;
return 0;
}
===
Rankor:~/src/sockets$g++ stupid.cpp
stupid.cpp: In function `int
3 matches
Mail list logo