Bug 359 - *SocketImpl::Bind returns something other than -1
*SocketImpl::Bind returns something other than -1
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: internet
ns-3-dev
All All
: P3 normal
Assigned To: Rajib Bhattacharjea
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-09-19 14:41 EDT by Rajib Bhattacharjea
Modified: 2008-11-12 15:05 EST (History)
2 users (show)

See Also:


Attachments
Fix (1.04 KB, patch)
2008-09-19 14:46 EDT, Rajib Bhattacharjea
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rajib Bhattacharjea 2008-09-19 14:41:01 EDT
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 EDT
Created attachment 260 [details]
Fix
Comment 2 Rajib Bhattacharjea 2008-11-12 15:05:27 EST
Craig applied fix in ns-3-dev (although his comment refers to the wrong bug number)
3846:265004d6dc15