pppd and radius client
Hello ,
I just met a problem that when dialup user disconnects
his/her line(modem for example). the remote pppd detected this and make a account request to Radius server, some information such as calling number and called number are included in this request message. calling number, for example, is retrieved by calling ioctl() on /dev/ttyxxxx. if disconnect the line directly, ioctl() return nothing; if logoff from application, ioctl() return the calling number correctly.
can anybody give some explanation on this and is there any
way to solve ?
Thanks,
YK