stan@lbl-csam.arpa (See-Mong Tan) (06/17/88)
Greetings, I'm writing a NFS file server with the PC-NFS toolkit. Each time I bind port #2049 to a socket, the select() call refuses to listen to any messages on that socket. This doesn't happen with other port numbers. Has anyone encountered this problem? I'd appreciate any insight. See-Mong Tan stan@lbl-csam.arpa
dannyb@kulcs.uucp (Danny Backx) (06/22/88)
2049 is the port used by NFS. This means that on all machines running NFS servers, you can't get that port. I am working with SunOS and BSD, in which you have to do the bind system call to attach your socket to a port number. If that port number is already in use, the bind fails, and errno=EADDRINUSE.