Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!howland.erols.net!newsfeed.internetmci.com!jump.net!grunt.dejanews.com!not-for-mail
Date: Tue, 20 May 1997 11:22:27 -0600
From: moballa@WESTECHMobile.com
Subject: Accept()-ing a connection from a specific IP address...
Newsgroups: comp.unix.bsd.freebsd.misc
Message-ID: <864144757.18711@dejanews.com>
Reply-To: moballa@WESTECHMobile.com
Organization: Deja News Usenet Posting Service
X-Article-Creation-Date: Tue May 20 16:12:39 1997 GMT
X-Originating-IP-Addr: 209.52.46.196 (m196.westechmobile.com)
X-Http-User-Agent: Mozilla/2.0 (compatible; MSIE 3.02; Windows 95)
X-Authenticated-Sender: moballa@WESTECHMobile.com
Lines: 13
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:41288
Is there any way to use the Accept() routine to only accept a connection
from a specific IP address? Currently my program accepts a connection
from anyone issuing a connect() call to it. I would like to specify that
it should only accept a connection from a particular IP address.
Does anyone know how to do this?
Thanks in advance,
Marco Oballa
-------------------==== Posted via Deja News ====-----------------------
http://www.dejanews.com/ Search, Read, Post to Usenet