read from socket returns errno = -1

Russell J Fulton;ccc032u russell at ccu1.aukuni.ac.nz
Fri Oct 26 08:32:19 AEST 1990


We have compiled the BSD ftp sources under Irix 3.3.1. All works well for 
type ASCII files, but  a get with type BINARY always fails.

After some investigation we found out that the first read() on the input
socket always fails (returns -1) with errno also set to -1!

Does any body know what could cause this?

Thanks, Russell.

Computer Centre, University of Auckland, New Zealand.

-- 



More information about the Comp.sys.sgi mailing list