In article <93521@palm-dev-forum>, [EMAIL PROTECTED] says... > 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.
It looks like the tcp.c code requires an externally defined global variable called errno, and you've not provided one. Easy fix, just add the line int errno; to your code, and hope its the right size. -- Ben Combee <[EMAIL PROTECTED]> CodeWarrior for Palm OS technical lead Get help at http://palmoswerks.com/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
