Path: utzoo!utgpu!water!watmath!clyde!att!pacbell!ames!pasteur!agate!ig!uwmcsd1!marque!uunet!mcvax!prlb2!kulcs!dannyb
From: dannyb@kulcs.uucp (Danny Backx)
Newsgroups: comp.protocols.tcp-ip.ibmpc
Subject: Re: PC-NFS Toolkit bug?  Need help
Message-ID: <117@icarus.kulcs.uucp>
Date: 22 Jun 88 07:51:35 GMT
References: <285@helios.ee.lbl.gov>
Reply-To: dannyb@kulcs.UUCP (Danny Backx)
Organization: Katholieke Universiteit Leuven, Dept. Computer Science
Lines: 5

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.