[ofiwg] Question about endpoints and passive endpoints

Hefty, Sean sean.hefty at intel.com
Mon Sep 19 15:27:08 PDT 2016


> struct fid_pep *pep;
> .... (struct fid_ep *) pep;  /* bad casting */
> 
> However, something like this is okay:
> 
> ... &pep.fid;  /* get at the base fid object */

Well, it's okay if you ignore the compiler warning about using '.' rather than '->'


More information about the ofiwg mailing list