Questions tagged [gethostbyname]

140 questions
0
votes
2 answers

UDP Socket broadcast and ifaddrstruct

I have a problem with the client side of an application I have to develop. The first phase I have to implement is a "scan" of the network, searching for other users. I decided to use UDP sockets, and they work properly. If I use the broadcast ip…
phcaze
  • 1,707
  • 5
  • 27
  • 58
-1
votes
1 answer

Problems with gethostbyname c++

I've this code made in c++ to connect to a server but every time I try "gethostbyname" the value is null(or optimized away and not available). WSADATA wsaData; if (WSAStartup(MAKEWORD(2, 2), &wsaData) != 0) { cout << "WSAStartup failed.\n"; …
Manueel
  • 13
  • 3
  • 7
-2
votes
1 answer

gethostbyname buffer overflow

I study about GHOST or CVE-2015-0235 vulnerability. I find out that my system is vulnerable. I write a test program to see the effect of this. but I cant see any thing. hear is my attemps: user@debian:~$ uname -a Linux debian…
elahe
  • 91
  • 1
  • 10
-3
votes
2 answers

How to get gethostbyname by using jquery

Possible Duplicate: Can I lookup the IP address of a hostname from javascript? Hi is there a jquery eqivalent to the php gethostbyname() function?
Chill Web Designs
  • 1,311
  • 2
  • 16
  • 31
-3
votes
1 answer

DNS Lookup: Get IP Address From DNS/Host Name

I need to get the IP address of a domain by the domain name. Site: hotmail.com / 65.55.72.151 Site: domain.com / 65.254.244.180 Can it be done, and in that case, how can I do it?
Hadidi44
  • 1,007
  • 2
  • 9
  • 7
1 2 3
9
10