> From: Jeff Carr [mailto:[EMAIL PROTECTED]
> Sent: Monday, June 13, 2005 3:21 PM
> 
> I only call ib_cm_listen once:
> 
> ib_cm_listen(listen_id, LISTEN_NUM, 0);
> 
> Is it necessary to call listen for each connection I wish to recieve?

No, the listen stays around and keeps indicating connection requests as long as
your app keeps it active.

> It seems like the cm handler function I register when I create the cm_id
> continues to handle req events until it is destroyed so I'm assuming
> this is all I need.
>
> In the case where I only have one number I'm listening on, then it
> doesn't matter to me what the context is; NULL makes the code simple.

Yes, that makes sense.  Thanks!

- Fab


_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to