IP adress
-
How do I get the local IP adress from my workstation Does anyone have an idea With kind regards Le Ridder Noir Considderd to be the worlds fastest knoppenbonker. 10 Months of working experience with the worlds fastest copie paster(about 2000 lines a minute). And experience with the one and only NewEra Guru.
-
How do I get the local IP adress from my workstation Does anyone have an idea With kind regards Le Ridder Noir Considderd to be the worlds fastest knoppenbonker. 10 Months of working experience with the worlds fastest copie paster(about 2000 lines a minute). And experience with the one and only NewEra Guru.
Hello "knoppenbonker" First rtfm before you ask questions to this forum. For this time I spare you. Here's your code: WSADATA wsaData; struct sockaddr_in sock; char hostname[128]; WSAStartup(0x0101, &wsaData); gethostname(hostname, 128); HOSTENT * lpHost = gethostbyname(hostname); memcpy(&(sock.sin_addr), lpHost->h_addr_list[0], lpHost->h_length); TRACE2 ("Host Name: %s IP address : %s",hostname, inet_ntoa(sock.sin_addr)); WSACleanup(); :suss: :suss: :suss: :suss: :suss: :suss: :suss: :suss: :suss: :suss: :suss: :suss: :suss: Considderd to be the worlds fastest knoppenbonker. 10 Months of working experience with the worlds fastest copie paster(about 2000 lines a minute). And experience with the one and only NewEra Guru.