First page Back Continue Last page Overview Graphics
Példa
static Sessn
aspOpen(Protl self, Protl hlp, Part *p)
{
Sessn asp_s;
Sessn lls;
ActiveId key;
ProtlState *pstate = (ProtlState *)self->state;
bzero((char *)&key, sizeof(key));
/* High level protocol must specify both */
/* local and remote ASP port */
key.localport = *((AspPort *) partPop(p[0]));
key.remoteport = *((AspPort *) partPop(p[1]));
/* Assume failure until proven otherwise */
asp_s = XK_FAILURE;
Notes: