Bug 359

Summary: *SocketImpl::Bind returns something other than -1
Product: ns-3 Reporter: Rajib Bhattacharjea <raj.b>
Component: internetAssignee: Rajib Bhattacharjea <raj.b>
Status: RESOLVED FIXED    
Severity: normal CC: craigdo, ns-bugs
Priority: P3    
Version: ns-3-dev   
Hardware: All   
OS: All   
Attachments: Fix

Description Rajib Bhattacharjea 2008-09-19 14:41:01 UTC
Both UdpSocketImpl and (due to copy paste) TcpSocketImpl return ERROR_INVAL in the Bind calls.  They should return -1 and set m_errno = ERROR_INVAL
Comment 1 Rajib Bhattacharjea 2008-09-19 14:46:00 UTC
Created attachment 260 [details]
Fix
Comment 2 Rajib Bhattacharjea 2008-11-12 15:05:27 UTC
Craig applied fix in ns-3-dev (although his comment refers to the wrong bug number)
3846:265004d6dc15