In order to deal with Conn types, you're supposed to just
use the interface's functions. Unfortunately, Conn's
Close() simply closes the associated fd. I think in general,
this is fine. For the Listener, a Close() will do the hangup.

I'm updating the net package implementation for Plan 9,
so new ideas are welcome in this phase. We can try to
export a Hangup() function for Plan 9 for the Conn type
(or for individual implementations of the type).

On 18 February 2013 10:12, Francisco J Ballesteros <[email protected]> wrote:
> I know, but, what's the std way to do that in go in plan 9?
>
> On Feb 18, 2013, at 7:07 PM, [email protected] wrote:
>
>> network connections on plan9 can be hanged up by writing "hangup" into
>> the corresponding ctl file.
>>
>> --
>> cinap
>>
>> [/mail/box/nemo/msgs/201302/897]
>
>

Reply via email to