GETSERVBYNAME()????????????????????"""""""""""""

GETSERVBYNAME()????????????????????"""""""""""""

Post by Kirk Reit » Sat, 27 Jul 1996 04:00:00



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

 
 
 

GETSERVBYNAME()????????????????????"""""""""""""

Post by Zakie Mashia » Tue, 30 Jul 1996 04:00:00



> 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

Try including <netdb.h>
--
------------------------------------------------------------------

Tel: 972-3-6487415 Fax: 972-3-6487414         http://www.memco.com
------------------------------------------------------------------

 
 
 

1. """"""""My SoundBlast 16 pnp isn't up yet""""""""""""

My machine: P166+mmx, 32mb ram, 4gb HD with Win95 and Win NT 4.0 and
redhat5.1 co-existed in different partitions.

I issued "sndconfig" within a xterm inside X Window, The program
detects the SB 16 pnp card sets it up with no error message, but when
it launch ModProbe to test out, it gets a message states: An error was
encountered running the ModProbe program."  I tried different IRQ
settings, all ends with the same message.

2nd, When I try to mount /dev/cdrom from File Systerm Manager, the
following error is returned:  Can't find /dev/hdb in /etc/mtab or
/etc/fstab.

3nd, When my machine boots, it halts at "Sendmail" for about 3-5 mins
before it goes to next step.  Obviously there isn't any mail system on
the machine right now because it is a standalone.  How can take this
mail thing out and speed up booting?

last one, Is my Zoom 56k PCI FaxModem a Windmodem that Linux can't use
to connect me to my local isp?

Experts help me out please. thanks.

2. core dump caused by malloc() -- help needed

3. Type "(", ")" and "{", "}" in X...

4. can't ping internet

5. "umsdos" vs "vfat" vs "looped ext2"

6. Matrox Atlas video card

7. "Novell-like","non-TCP/IP","networking" OS to place Unix

8. Driver for CMI8738/C3DX Sound?

9. "netstat -nr" should show "default" or "0.0.0.0"?

10. "write" "to" "flon" commands

11. Problems with "df" and "du" on "/var"

12. differences among "ssh", "rlogin" and "telnet"

13. "connect" between "bind" and "listen"