Questions tagged [windows-networking]

83 questions
0
votes
1 answer

Server client application running on same host machine with two different nic's ip.

I am developing a server client application. In which server and client are running on same host machine. The host has two nic. Server is running on the ip of one of the nic and client has been bound to ip of the other nic. Respective codes of…
Indra Vikas
  • 49
  • 1
  • 6
0
votes
1 answer

Get Destination Ip/Port of active udp Connection?

I m able to retrieved active TCP and UDP connection using iphlpapi. The TCP Connection showing with source info(ip/port), Destination info(ip/port), state and process id. But for UDP Connection its no giving remote IP and port. That what i want to…
Leo Live
  • 13
  • 4
0
votes
1 answer

How can I check programatically if my pc is behind a proxy?

I'm trying to find a good way to determine if my pc is working behind a proxy or not. I'm browsing through the WinAPI but cannot find anything useful. I´ve read that it is enough to open a tcp connection on port 80 to an internet address but is…
seveves
  • 1,242
  • 4
  • 16
  • 33
0
votes
1 answer

Enumerating domains in a forest (windows networks)

I looking for an API method that retrieve the info that "net view /domain" does. namely, I'm looking for a way to enumerate the visible domains within a forest, using win32api (in C environment) thanks. Update: it seems that DsEnumerateDomainTrusts…
0
votes
4 answers

To get IP Address from interface name in Windows

I like to know, winapi from which i can get ipaddress using interface name. The Linux version of which is as below. #include #include #include #include #include #include…
Manish Shukla
  • 542
  • 5
  • 18
-1
votes
1 answer

arp response received but ICMP packets are not reaching to own host even

My environment has 2 hosts and a VM on each host. NVGRE tunnel is created, as VMs and Hosts belongs to different subnets. I am using Windows server 2012 R2 hosts and same VMs. Hosts are connected back to back. If I put VMs and Hosts in same subnet…
-3
votes
1 answer

Need help on homework about tracert in windows

This is the question Select three random companies, and issue the whois and traceroute (tracert in Windows) commands for each one. Tracert is available from a command prompt. To use whois, you will need to search for an online tool. Then write a…
-3
votes
1 answer

How to connect 2 VMware machines to ping each other

I would like to ping between VM1 and VM2. Using VMware Workstation 14. IDEA I do Windows deployment for school purposes. VM1 is server with DNS, DHCP, etc. roles. VM2 is blank, gets IP from DHCP pool, loads boot image and installs OS. VM1 (Windows…
M.Naro
  • 57
  • 4
  • 12
1 2 3 4 5
6