![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Jan 2005
Posts: 1
Rep Power: 0
![]() |
pointer parameter (gethostbyname)
gethostbyname(const char *name);
gethostbyname is a function that has got a char pointer parameter. I have a array variable char r[2048]; and r array has got a null terminated string that taken from a file.(ex:"www.someaddr.com") I couldn't managed to execute gethostbyname function correctly. how can I give that array as a parameter? thanks |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|