you are the man! many thanks
Type: Posts; User: jchanwh
you are the man! many thanks
Hi there,
I wrote the following code, what I intend to do is to use '!' as delimiter to save string to different variables, however, I found that all the characters include '!' save to first...
Please advise why the following code is not working(Segmentation fault). Merry Chirstmas!
#include <stdio.h>
#include <netdb.h>
main() {
struct hostent *h;
char *output1;
char *input;
Hi there,
Any idea on if a valid IP address is entered, the corresponding host name is returned and if a hostname is entered, the corresponding IP address is returned. Thanks in advance.
Johnny
Hi there,
I would like to let the following code keep asking for correct value if the value enter cannot vaildate by myvaild_addr(). Could you give me some hint to make it work. Thanks in advance....