Questions tagged [windows-networking]

83 questions
1
vote
0 answers

Detect that the path is SkyDrive path/Resolve skydrive path to WebDav path

Preamble: If you try to save a file from any Microsoft Office app to SkyDrive folder, then the app (Word etc) will detect that and switch to accessing SkyDrive directly via MS extensions for WebDAV (the save icon will turn to Sync icon, you'll see…
wizzard0
  • 1,775
  • 13
  • 33
1
vote
1 answer

How to get download size in Poco::HTTPClientSession?

HTTPClientSession session(uri.getHost(), uri.getPort()); HTTPRequest req(HTTPRequest::HTTP_GET, path, HTTPMessage::HTTP_1_1); session.setTimeout(Poco::Timespan(20,0)); session.sendRequest(req); HTTPResponse res; istream& rs =…
g.Eis
  • 111
  • 1
  • 1
  • 7
0
votes
1 answer

Get-NetIPAddress returns values not found in ipconfig

We are doing a configuration inventory of servers in our system, and found something odd. Two of our servers share this anomaly: When we run PowerShell Get-NetIPAddress as follows: Get-NetIPAddress -addressstate Preferred -addressfamily ipv4 Three…
Dennis
  • 810
  • 2
  • 13
  • 30
0
votes
0 answers

Pip unable to access 'pypi.org' url from windows 10?

I am not able to access the "pypi.org" url from my windows 10 machine .. this issue started happening recently.. I came to know this issue when i attempt to install package using 'pip' pip install kafka But the response was as follows Retrying…
Adhi
  • 49
  • 1
  • 5
0
votes
0 answers

Windows: Adding route entry in a different network namespace

I have a container running on a Windows instance in its own network namespace i.e. we have a host network namespace and a container network namespace. I want to add an entry in the routing table of the container network namespace. I can do the same…
harsrawa
  • 363
  • 4
  • 13
0
votes
1 answer

Is there a Windows user space function to enumerate connected network shares?

I'm writing a Win32 application and I need to know what the currently connected network file shares are. For example, \ip-addr\share-name\ or \Device\Mup\ip-addr\share-name\ The solution cannot involve mounting the drives. I tried WNetOpenEnum, but…
Noah
  • 11
0
votes
1 answer

How to enable ICMP service in Windows?

It is enabled by default, however I can't tell it's not enabled, because Firewall is disabled ping 127.0.0.1 times out. I get If you google for "enable icmp in windows", all you get is how to open a port on the firewall, but that assumes that…
Rainb
  • 1,202
  • 7
  • 25
0
votes
1 answer

Connect to shared folder on Windows VM

Setup VMWare Windows Server 2012 IP 192.168.101.160 Running on Linux host, but Networktype 'bridged' (Linux host IP is different) Network: Shared folder 'C:\test', shared as '\\MOBIL\test' and visible in Network/MOBIL Other computers: only the…
subrunner
  • 369
  • 1
  • 13
0
votes
0 answers

boost tcp async_connect() occasionally fails to connect to a server on the same LAN until until Windows is rebooted

Our Windows client applications connects to a server on the same LAN via the function boost::asio::ip::tcp::socket::async_connect like so: std::string ip, port; boost::asio::io_service io; boost::asio::ip::tcp::socket client( io…
Olumide
  • 4,925
  • 6
  • 43
  • 89
0
votes
1 answer

Why must StreamSocketListener be used in UWP instead of TcpListener, although UWP is a subset of .NET Core and TcpListener is available in UWP?

As mentioned here and here, the usage of TcpListener ist not possible in UWP. Instead, StreamSocketListener has to be used. But after a relatively long research, I didn't understand why? Since UWP is actually a subset of of .NET Core, using…
user9514066
  • 109
  • 9
0
votes
1 answer

Intercepting network traffic for a particular application

I am working on Windows. Lets say I am running a Twitter app. I want to intercept all the network packets that this app is sending or receiving at runtime. I wish to look for certain packet (segment) features like TCP destination port, windows size…
Bruce
  • 29,361
  • 67
  • 167
  • 252
0
votes
1 answer

How to make sure all workstations are synced with regards to time

For one my projects, we created a Student Attendance System. It is networked, with workstation having its own database, and all are connected to one master computer. Is there a way to make sure that the workstations are ALWAYS on the same time as…
0
votes
1 answer

netsh portforwarding not working while accessing url from mobile

Problem statement: I have an Oracle VM running on my windows machine. And the VM machine has an application running in jboss. I want to access this application (running on VM) on my mobile. What I had tried: I tried port forwarding using below…
0
votes
1 answer

Powershell: Apply owner to multiple files and folders per username

We have a server that houses the My Documents folder for all our users. Some of the folder owner changed to administrator. I am trying to devise a PowerShell script that goes to each user's root my documents folder and applies the user as the owner…
Rick
  • 2,146
  • 18
  • 62
  • 92
0
votes
0 answers

Windows Networking (WNet API / mpr.dll) WNetAddConnection2 fails with NotAuthenticated

I am writing a program to map a network drive (WebDAV) from a graphical UI (Windows Forms). I am using the Windows Networking API that lives in the mpr.dll. Now, when the user enters a wrong password WNetAddConnection2 returns the NotAuthenticated…
ChrisM
  • 970
  • 6
  • 20