incorect waiting for packets on UDP connections.
Preconditions: Have an UDP server. Transform the socket into a handle. call hWaitForInput. When it returns True. call recv to read the datagram.
Expected result: it will wait for a package with the hWaitForInput. when the package arrives (withing the timeout). it will read it in the buffer. (this is how it works in HUGS).
Actual result: hWaitForInput consumes the package (I think). recv will block until the next package arrives.
Trac metadata
Trac field | Value |
---|---|
Version | 7.4.1 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | libraries/base |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |