![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to Achive IP address through MAC(Ethernet) address | krishnacins | IP Networking | 3 | 08-29-2005 05:45 PM |
| ce0 and ce1 have the same mac address | BG_JrAdmin | SUN Solaris | 2 | 07-08-2005 04:30 PM |
| network address and broadcast address? | pnxi | UNIX for Dummies Questions & Answers | 7 | 11-10-2003 08:29 PM |
| IP address | krishna | UNIX for Advanced & Expert Users | 10 | 03-20-2002 02:36 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#8
|
|||
|
|||
|
I know this may sound like I'm stupid, but what should kcsdev be changed to.
|
| Forum Sponsor | ||
|
|
|
#9
|
|||
|
|||
|
Whatever the hostname program returns - the name of the box you are running the query on
Code:
kcsdev:/home/jmcnama> hostname kcsdev kcsdev:/home/jmcnama> |
|
#10
|
|||
|
|||
|
The program just prints no.
The program just prints no.
|
|
#11
|
|||
|
|||
|
What does
Code:
uname -a I don't know SCO, but I'm hoping they can spell POSIX - a set of UNIX standards |
|
#12
|
|||
|
|||
|
I'll post, thanks Jim for all of your help it is appreciated.
#include <stdio.h> int main() { FILE *cmd=popen(" ndstat | grep net0 | awk '{print $3}'", "r"); char tmp[80]={0x0}; while(fgets( tmp, sizeof(tmp), cmd)!=NULL) { printf("%s\n", tmp); } pclose(cmd); return 0; } I'm going to post a new thread about md5 hashing, in unix (SCO) environment. Hope to see you there |
|||
| Google The UNIX and Linux Forums |