[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-atm
Subject:    Re: Connect problem
From:       "Dimitris Terzis" <dterzis () nortelnetworks ! com>
Date:       1999-08-27 6:59:01
[Download RAW message or body]

> > 		qos.rxtp.traffic_class = qos.txtp.traffic_class =
> > ATM_ANYCLASS;
>  ^^^^^^^^^^^^^
> This is probably where your problem is. You are setting your 
> traffic descriptor to ATM_ANYCLASS and then trying to do an active 
> open. If I remember correctly, ATM_ANYCLASS is fine with a 
> listening socket, but a socket doing active open needs something 
> more specific. I would change this to ATM_UBR and then retry.

You were right!!! I now get "connection refused", though. Any other clues?
Meanwhile, I 'm playing with other connection parameters.


> > if (bind(fd,(struct sockaddr *) (struct sockaddr*)&myaddr,
> > 	sizeof(myaddr)) < 0) 
>
> You probably want to remove the redundant cast.

!!! I don't know How it got in the mail... Of course it isn't there in the
actual code!

Thanks for the advice.

Dimitris

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic