Article View: comp.unix.programmer
Article #1354Re: Problem with binding of socket addresses
From: Sean Casey
Date: Sat, 08 Dec 1990 07:42
Date: Sat, 08 Dec 1990 07:42
8 lines
704 bytes
704 bytes
Set the "reuse address" socket option, between the socket() and the bind() calls. Then your program can always immediately restart. Sean -- *** Sean Casey <sean@s.ms.uky.edu> *** "Live the journey, for each destination is but a doorway to the next..."
Technical Details
Message-ID:
<sean.660642165@s.ms.uky.edu>Path:
arc1-ca.pugleaf.net!utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!rutgers!gatech!ukma!seanReferences:
<epeterso.660257641@houligan> <9849@discus.technion.ac.il>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!rutgers!gatech!ukma!sean From: sean@ms.uky.edu (Sean Casey) Newsgroups: comp.unix.programmer Subject: Re: Problem with binding of socket addresses Message-ID: <sean.660642165@s.ms.uky.edu> Date: 8 Dec 90 07:42:45 GMT References: <epeterso.660257641@houligan> <9849@discus.technion.ac.il> Organization: The Leaning Tower of Patterson Office @ The Univ. of KY Lines: 8