socket question (beginner)

2000-10-15 Thread Jonathan Lupa
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

Re: socket question (beginner)

2000-10-15 Thread Eric G . Miller
#include netinet/in.h -- /bin/sh ~/.signature: Command not found

Reply: socket question (beginner)

2000-10-15 Thread Sven Gaerner
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