register Port???

Nico Weling <>
Fri Sep 21 08:06:49 CEST 2001


Hi Sean,

does this mean that it works in R8 but not in R6?

Nico.

Sean Hinde wrote:
> 
> Try on R8!
> 
> Sean
> 
> > -----Original Message-----
> > From: Nico Weling [mailto:]
> > Sent: 20 September 2001 15:15
> > To: 
> > Subject: register Port???
> >
> >
> > Hi,
> >
> > is it possible to register an port?
> >
> >
> > Eshell V4.9.1  (abort with ^G)
> >
> > ()1> TonePid = open_port({spawn, tone},
> > [{packet, 2}]).
> > #Port<0.13>
> >
> > ()2> register(tone_port,TonePid).
> >
> > =ERROR REPORT==== 20-Sep-2001::16:23:33 ===
> > Error in process <0.35.0> on node '' with
> > exit value:
> > {badarg,[{erlang,register,[tone_port,<0,13>]},{erl_eval,expr,3
> > },{erl_eval,exprs,4},{shell,eval_loop,2}]}
> > ** exited: {badarg,[{erlang,register,[tone_port,#Port<0.13>]},
> >                     {erl_eval,expr,3},
> >                     {erl_eval,exprs,4},
> >                     {shell,eval_loop,2}]} **
> >
> >
> > Thanks in advance,
> >
> > Nico.
> >
> 
> NOTICE AND DISCLAIMER:
> This email (including attachments) is confidential.  If you have received
> this email in error please notify the sender immediately and delete this
> email from your system without copying or disseminating it or placing any
> reliance upon its contents.  We cannot accept liability for any breaches of
> confidence arising through use of email.  Any opinions expressed in this
> email (including attachments) are those of the author and do not necessarily
> reflect our opinions.  We will not accept responsibility for any commitments
> made by our employees outside the scope of our business.  We do not warrant
> the accuracy or completeness of such information.

-- 
Nico Weling
Software Designer
Ericsson Eurolab Deutschland GmbH
Verification Tool Design

Tel: +49 2407 575 5217
Fax: +49 2407 575 651
Dect:+49 2407 575 89339
mailto:



More information about the erlang-questions mailing list