It is currently Sun, 19 Nov 2017 08:15:08 GMT



 
Author Message
 GETSERVBYNAME()????????????????????"""""""""""""

Hi,

Does anyone know why

struct servent *serv;
 serv=getservbyname("exec","tcp");

gives a warning err of incomparible pointer type?  

I also can't get rexec to function. It compiles ok....

Thanks

Kirk



 Tue, 12 Jan 1999 03:00:00 GMT   
 GETSERVBYNAME()????????????????????"""""""""""""

Try including <netdb.h>
--
------------------------------------------------------------------
Zakie B. Mashiah   mailto:za...@memco.co.il   MEMCO Software Ltd.
Tel: 972-3-6487415 Fax: 972-3-6487414         http://www.memco.com
------------------------------------------------------------------



 Fri, 15 Jan 1999 03:00:00 GMT   
 
   [ 2 post ] 

Similar Threads

1. "Source Route Failed", "LOGIN FAIL..", "Malformed response", and "Lame server" messages in /var/log

2. "WaveRunner"/"Linux"/"OS/2 Warp"/"ISDN "

3. What's different among "syscall", "syscall32", "syscall3264", "syscall64"?

4. "Invited", "Free Gift", and the English Language

5. section "screen", subsection "display"

6. exec("path1", "path2", NULL)?

7. sscanf("-1", "%d", &i) fails, returns 0

8. sscanf("-1", "%d", &i) fails, returns 0


 
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software