| Summary: | Socket::listen does not handle multiple addresses correctly | ||
|---|---|---|---|
| Product: | [Tools] PTP | Reporter: | Greg Watson <g.watson> |
| Component: | SCI | Assignee: | Tu Hong Jun <tuhongj> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | g.watson, ronglli, tuhongj |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Greg Watson
For this issue, we have used an array to save the usable multiple addresses. In each iteration, if the socket can be binded and listened successfully, we will save it into the array "accSockets[accCount] = sockfd;", and then do "accCount++;" to make sure the "accCount" records the correct number of usable socket. All the usable addresses can be used. We have already committed the changes, pls try the latest version of SCI codes. This issue should have been fixed. Yes, there was this problem but got fixed. Closing as fixed. |