void Qsocket( int domain , int type ) {
vb.used= 0;
Tvba("socket");
- Tvbf(domain==PF_INET ? " domain=PF_INET" :
- domain==PF_INET6 ? " domain=PF_INET6" :
+ Tvbf(domain==AF_INET ? " domain=AF_INET" :
+ domain==AF_INET6 ? " domain=AF_INET6" :
" domain=AF_???");
Tvbf(type==SOCK_STREAM ? " type=SOCK_STREAM" : " type=SOCK_DGRAM");
Q_vb();