gethostbyname():giving error "segmentation fault"

Status
Not open for further replies.

xclusivevivek

Newbie level 4
Joined
Aug 7, 2010
Messages
7
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Location
PUNE
Activity points
1,321
i am using gnu c compiler to write a network program.
I have internet connection through a proxy(http/https).
whenever I try to use socket functions such as gethostbyname() or gethostbyaddr()
i get error "SEGMENTATION FAULT" .Please help me out with this
 

Re: gethostbyname():giving error "segmentation fault&am

which os you are using ?
post a sample code to see the problem.
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…