From owner-freebsd-questions Fri Apr 30 12:46: 6 1999 Delivered-To: freebsd-questions@freebsd.org Received: from qatar.net.qa (qatar.net.qa [194.133.33.11]) by hub.freebsd.org (Postfix) with ESMTP id 89E781554E for ; Fri, 30 Apr 1999 12:45:55 -0700 (PDT) (envelope-from sodah@qatar.net.qa) Received: from qatar.net.qa (dieh.qatar.net.qa [194.133.37.108]) by qatar.net.qa (8.8.8/Internet-Qatar) with ESMTP id WAA18225; Fri, 30 Apr 1999 22:44:09 +0300 (GMT) Message-ID: <372A080A.971C0CCD@qatar.net.qa> Date: Fri, 30 Apr 1999 22:44:10 +0300 From: Fadi Sodah X-Mailer: Mozilla 4.5 [en] (X11; I; Linux 2.0.36 i586) X-Accept-Language: en MIME-Version: 1.0 To: gregm@netidea.com Cc: Greg Campbell , questions@FreeBSD.ORG Subject: Re: socket communication References: <199904301638.JAA11194@everest.netidea.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG gregm@netidea.com wrote: > > I hope someone will correct me if I'm wrong but I think port number > 2000 is guaranteed to fail. Try with a different port number. > Regards, > Greg Martin. > gregm@netidea.com > Ports between 1 and IPPORT_RESERVED (defined in /usr/include/netinet/in.h) are reserved for system use, you must be root to create a server to bind to these ports. you can check out the file /usr/include/netinet/in.h 0 - 1023 Well Known Ports 1024 - 49151 Registered Ports 49152 - 65535 Dynamic and/or Private Ports -Pons To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message