hi, 
Please help in this...

void con(){
s=socket(AF_INET,SOCK_STREAM,0);
if(s<0)
FrmAlert (BindFailedAlert);
.
.
.
.
}

As expected the above 3 lines of code compile, but when i use "Make" it
gives this error:

Link Error: tcp.c: 'errno' referanced from 'con' is undefined.

I am sure the error is generated at  s=socket(AF_INET,SOCK_STREAM,0);
place, as i checked it.

Can anybody suggest me what is happenning or is this the right way to
handle error correction for sockets.

thanks in advance

irfan


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to