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