[twsocket] Can't Connect again after close on TWSocket

Francois PIETTE francois.piette@pophost.eunet.be
Sat, 24 Jun 2000 19:48:17 +0200

> The close function calls the AssignDefaultValue routine which appears to
> replace some of the design time values that get set during the create of
> the socket. I traced into the connect after a Close and the
> FPortAssigned in False after the first connect causing an error 0.
> Is there a different way to disconnect and reconnect a socket so it can
> use the design time Values.

No way, unless you derive your own version and override this behaviour.