Hi all,
Does anybody has some idea why this piece of code
int setIP(char fName[100])
{
FILE *pipein_fp;
char readbuf[100];
Type: Posts; User: TwistedMetal
Hi all,
Does anybody has some idea why this piece of code
int setIP(char fName[100])
{
FILE *pipein_fp;
char readbuf[100];
Thanks Robwhit.
Can somebody provide some help regarding finding the IP Address please.
I was interested to know if there is some more elegent way to get the IP Address of the host other then firing ifconfig through popen and then parsing the string to get the IP.
I googled around...
Thanks a lot for your help. I have finally constructed the following code snipet which works fine. As i am a beginner i post it here hoping for the betterment of the code.
FILE...
Hi all,
I am new to C and am writing a small application in C. One part of it is to fire some system commands and store the output in some variable.
A small example of what i wanna do:
...