Re: problems with read()

1998-11-29 Thread Pere Camps
Alex, > Since you have a server socket, "sd" should be a value returned by accept(). Very big OOPS! Thanks for the help and sorry for the stupidity. This is a university work and I find the call model system of the teacher very inapropiate. Anyway, that's no excuse. Thanks again.

Re: problems with read()

1998-11-29 Thread aqy6633
> I'm in the need of tracing a read(). After creating a socket > (socket+bind+listen) I make a telnet call the machine+port and after the > first read(), the program fails at it. > > More exactly I get a errno that says: > Invalid argument > > And the exact call is: >