Date: Fri, 30 Apr 1999 09:44:11 -0700 From: gregm@netidea.com To: "Greg Campbell" <greg.campbell@matrikon.com> Cc: questions@FreeBSD.ORG Subject: Re: socket communication Message-ID: <199904301638.JAA11194@everest.netidea.com> In-Reply-To: <000f01be9323$ce6e5bf0$9308a8c0@matrikon.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
> I would appreciate some words of wisdom from anyone
> who has done some socket programming on FreeBSD.
>
> The question is this:
> Is there anything special about connecting to a
> socket from FreeBSD? I am getting an error from
> the "connect" function call (nothing more than
> -1 is returned which doesn't seem to map to any
> error messages codes.
>
> #define PORTNUM 2000
> #define oops(msg) {printf("%s\n",msg);exit(-1);}
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199904301638.JAA11194>
