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.
> 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:
>
2 matches
Mail list logo