Ticket #3143 (closed bug: invalid)

Opened 4 years ago

Last modified 4 years ago

Network.Socket.connect: support for sockets w/ bound local endpoints

Reported by: sof Owned by: tibbe
Priority: normal Milestone:
Component: libraries/network Version: 6.10.1
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: Difficulty:
Test Case: Blocked By:
Blocking: Related Tickets:

Description

Just in case this isn't taken care of by the ongoing rewrite of 'network', but there's an age-old limitation in the implementation of Network.Socket.connect -- it balks at being given a socket where the local endpoint (port,iface) has already been bound.

i.e., it socket status test ought to be

not (currentStatus elem [NotConnected?,Bound])

The workaround of manually resetting SocketStatus? always leaves me feeling icky.

Change History

Changed 4 years ago by tibbe

  • owner set to tibbe
  • status changed from new to assigned

Changed 4 years ago by tibbe

  • status changed from assigned to closed
  • resolution set to invalid
Note: See TracTickets for help on using tickets.