Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 May 2001 16:31:55 -0400
From:      Spike Gronim <william@brainlink.com>
To:        Mikko Tyolajarvi <mikko@dynas.se>
Cc:        william@brainlink.com, questions@freebsd.org
Subject:   Re: bind() on FreeBSD
Message-ID:  <20010506163155.A65425@spike.gronim.com>
In-Reply-To: <200105062008.f46K8iq77567@explorer.rsa.com>; from mikko@dynas.se on Sun, May 06, 2001 at 01:08:44PM -0700
References:  <20010506130102.A65011@spike.gronim.com> <200105062008.f46K8iq77567@explorer.rsa.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, May 06, 2001 at 01:08:44PM -0700, Mikko Tyolajarvi wrote:
> In local.freebsd.questions you write:
> [...]
> 
> >int main() {
> >	int ret, listenfd;
> >	struct sockaddr_in sai;
> >	
> 
> 	memset(&sai, 0, sizeof(sai));

	Exactly what the doctor ordered. Thank you.

> 
> >        sai.sin_family = AF_INET;
> >	inet_aton("127.0.0.1",&sai.sin_addr);
> >	sai.sin_port = htons(7697);
> 
> [...]
> 
>     $.02,
>     /Mikko
> -- 
>  Mikko Työläjärvi_______________________________________mikko@rsasecurity.com
>  RSA Security

-- 


	--Spike Gronim
	  gronimw@stuy.edu

	"Oh yes?  An obscene triangle which, has more courage than the word."


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?20010506163155.A65425>