Bug 38251

Summary: Address is not zeroed in net/libsocket++ port, resulting in failed bind()
Product: Ports & Packages Reporter: Brian Ollenberger <bi375>
Component: Individual Port(s)Assignee: Tilman Keskinoz <arved>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Brian Ollenberger 2002-05-18 19:50:01 UTC

Fix: 

Apply the following patch to the port before compiling:
(it would be good if the following patch could be included in the port)
How-To-Repeat: ...
sockinetbuf si(sockbuf::sock_stream);
cout << "bind: " << si.bind("127.0.0.1",5150) << endl;
...

With the net/libsocket++ port.
The port will not be set, because bind() failed because the sockaddr_in was not zeroed.
Comment 1 Ying-Chieh Liao freebsd_committer freebsd_triage 2002-09-21 04:32:56 UTC
State Changed
From-To: open->feedback

where's the patch ?
Comment 2 Tilman Keskinoz freebsd_committer freebsd_triage 2002-10-26 14:10:54 UTC
Responsible Changed
From-To: freebsd-ports->arved

I am gong to look at libsocket++ some time in the future.
Comment 3 Tilman Keskinoz freebsd_committer freebsd_triage 2003-01-02 15:54:08 UTC
State Changed
From-To: feedback->closed

Feedback timeout (2 months) & I have updated libsocket++