Basically, I have a couple Windows computers on my network that will be running a python script. A different set of configuration options should be used in the script depending on which computer is running this script.
How would I get that computer name in the python script?
Let's say the script was running on a computer named DARK-...
I am writing a C++ application and would like to request several data files through a HTTP GET request simultaneously, where should I look to get started (needs to be cross-platform).
Run Application
Create a list of URLs { "http://host/file1.txt", "http://host/file2.txt", "http://host/file3.txt"}
Request all the URLs simultaneously ...
What is the best way to view the HTTP response headers from a request against a particular URL? Telnet or is there some other really good command or tool?
...
Hello everyone,
I am looking for a network camera which I could program against the following functions,
I can plug-in the camera into network cable, then it could work to capture video independently, no need to plug-in into a computer to make it work;
I can remotely control the camera, e.g. control its start/stop/direction;
I can...
Hello everyone.
I have a Database program which uses MS Access. The time has come and I need to make it a client/server app. The idea behind the scheme is: Server holds the database, and one or multiple clients need to access it simultaneously. The program will still need to operate under Ms Access (because porting DB and rewriting the...
Hi, I'm running an application from a network share, this application then try to verify if the path "C:\temp" exist and return true or false.
If the code is runned localy, there's no problem. If it's runned from a network share, I get the result false, even if the folder exist localy.
The code is C# on framework 2.0
Thank you
...
I am planning to use SCTP for a embedded Linux project. Anybody has some comments on SCTP usage, mostly in one-to-many mode? Did it beat using a home-made UDP-based equivalent solution?
I control the network environement and all devices involved, so compatibility is not an issue.
...
I'd like to fire some callback every time my network card sends new info about the available networks. I don't really mind if I need to poll the information myself either. I just don't want to rely on spawning "iwlist scan last" every second, but that's exactly the information I need (network name + channel + encryption type).
Is there ...
Is there a way to tie a network connection to a PID (process ID) without forking to lsof or netstat?
Currently lsof is being used to poll what connections belong which process ID. However lsof or netstat can be quite expensive on a busy host and would like to avoid having to fork to these tools.
Is there someplace similar to /proc/$pi...
I have data stored in relational database mysql and PHP.
I have a table called "rel" which has two fields:
from_node | to_node
=====================
1 2
1 3
2 3
and so on......
How can I calculate the network Diameter of a network. I know it is the longest or shortest path between any two p...
Every now and again, I need to start the Django development server, and have it viewable by other machines on my network, as described here:
http://docs.djangoproject.com/en/dev/ref/django-admin/#runserver
My machine’s IP address tends to change every now and again, so I’d like to have a little shell alias or something that spits out t...
I have a windows service set to copy files from a local directory to a samba share.
The service connects via a UNC path to the server (i.e. \remoteserver\shareddir).
I have logged in as the user under which the service is running, and was able to both copy files and create files on the samba share, using the UNC path.
However, when ru...
This is inspired by Does File.Copy() from a network share to another share on the same machine copy the file over the network?
Is it possible, in .NET, for a client to get the server to copy a server file to a different location on the same server without round tripping the file via the client?
Is there any in-build support for this ki...
Is there a native way to implement the features provided by the Genuine Channels (http://www.genuinechannels.com) component? Essentially, it provides the same features as the .net remoting component, with the only difference being .net remoting is unidirectional. I am looking for something where, as a client, I could connect to a server,...
How do I ensure that a particular port on my computer is not being used for any other purpose other than the service I need in C#??
In my program for a simulation of a lan-messenger, I am getting a connection refused error when trying to connect to a remote host.Hence I need to somehow ensure that the port isn't being used for any other...
I am trying to create a network share during an install on Window Server 2008 and I have been running into UAC problems. It seems that even though I am running as administrator during the installation process the batch file run by the installer can not create the share. Is there a way to accomplish this?
...
I have a C# application that should only be used when the network is down, but am afraid users will just unplug the network cable in order to use it.
Is there a way to detect if the network cable has been unplugged?
Thanks
...
First, a bit of background. There are many various comparison of distributed version control systems (DVCS) which compare size of repository, or benchmark speed of operations. I haven't found any that would benchmark network performance of various DVCS, and various protocols used... beside measuring speed of operations (commands) involvi...
Please advise a combination of server and client technologies, tools and frameworks to implement a solution that meets the following requirements?
File server in the network has a huge library of mp3/aac/aiff/wav music files
Desktop cocoa application accesses audio files using URLs: rtmp, http, rtsp+rtp, ftp — how to make a choice?
Audio...
Hello,
How to get the ip of the computer on linux through Java ?
I searched the net for examples, I found something regarding NetworkInterface class, but I can't wrap my head around how I get the Ip address.
What happens if I have multiple network interfaces running in the same time ? Which Ip address will be returned.
I would reall...