networking

Tools for simulating and developing hardware and protocols

I want to dabble in the design of hardware and protocols, specifically for wireless mesh networking. Is there a software-based alternative to getting an FPGA setup and writing code for it? Are there any tools well-suited for coding/designing the protocol(s) for such a device? Clarification: I'm looking for free and preferably open sourc...

How do i set the dns search suffix for a network adapter in .net?

I've written a command line utility that detects which network interface is connected, and sets the staitc ip address and dns servers for it (by calling netsh). However, I can't seem to figure out how to set the dns search suffixes. netsh doesnt appear capable of doing that. How do I do that otherwise (WMI perhaps)? ...

Finding local IP addresses in Python.

How can I find the local IP address (i.e. 192.168.x.x or 10.0.x.x) in python, preferably with only built-in moduals, I would also like it to be platform independent. ...

What network names/addresses does Mac OS X server support out of the box?

Does someone know all the correct names, syntax for ways to locate an OS X server (without adding non-Apple software)? From what I can tell, you have: Network Interface address: 00:19:e3:aa:aa:aa IPv4 address: 11.22.33.44 IPv6 address: 3ffe:3ffe:3ffe:3:200:f8ff:fe21:67cf Domain name: myserver.fqdn.com. AppleTalk Comp...

What load-balancing system do you use in production? What do you think of it?

There are a lot of different systems for balancing load and achieving redundancy in production servers (Not just web servers) Round-robin DNS Linux Virtual Server Cisco Local Director F5 BigIP Windows NLB etc? If you use one of these (or another) in production, which one? How well does it work for you? Have you evaluated others? ...

Accessing network shares from a service

I am creating a service that needs to run on Windows 2000, XP, 2003, 2008 & Vista. The service needs to access a network share as part of its processing. For XP and beyond the service can be running as the Network Service account but what's the equivalent in Windows 2000? ...

PHP's file_get_contents not returning until remote servers' keep-alive limit is exceeded

From one apache server file_get_contents returns the contents of a url straight away. On another apache server file_get contents won't return the contents of the same url until the keep-alive limit of the server hosting that url has been expired. The 2 php servers are retrieving the same url but through different network routes. What ...

Get BSSID (MAC address) of wireless access point from C#

How can I get the BSSID / MAC (Media Access Control) address of the wireless access point my system is connected to using C#? Note that I'm interested in the BSSID of the WAP. This is different from the MAC address of the networking portion of the WAP. ...

How do I obtain the physical (MAC) address of an IP address using C#?

From C#, I want to do the equivalent of the following: arp -a |findstr 192.168.1.254 Alternatively, the answer could call the SendARP function and get the results. This will allow my application to do some other processing that requires the MAC address. ...

What's a good way in PowerShell to check for an IP address switch on a webserver?

Problem Our web host provider is changing the IP address of one of the servers we are on. We have been given a time frame for when the switch will take place, but no exact details. Therefore, our current poor man's check requires a periodic page refresh on a browser to see if our website is still there. Question We are all programmers...

Software to Administrate Network Connections

I need a software to admin my networks connections, I go to diferents clients with my notebook and I have to manually change my settings. Best software to do this? Windows and Mac, I use a MacBook with Vmware Fusion. ...

iPhone to iPhone communication

I'm kind of curious how I should approach a problem with iPhones and communication between two phones. I have an idea for an application that needs to send data between two known phones. The problem is that the data could be very small or very large. I want to have intermediate storage on a server and a messaging layer, but I want there...

What is the quickest way to detect an unreachable host in Java?

I would like the fastest and most accurate function boolean isReachable(String host, int port) that passes the following JUnit tests under the conditions below. Timeout values are specified by the JUnit test itself, and may be considered "unreachable." Please note: All answers must be platform-independent. This means that InetAddress.is...

Unit testing a module that checks internet connectivity

I have a C# module responsible for acquiring the list of network adapters that are "connected to the internet" on a windows Vista machine. The module uses the "Network List Manager API" (or NLM API) to iterate over all network connections and returns all those for which the IsConnectedToInternet value is true. I received some suggestion...

I can't connect to my server over the internet

I can run the server on my local machine and connect to it on the same machine, but when i try to connect to it from a different computer over the internet, there is not sign of activity on my server, nor a response from the server on the computer im testing on. Ive tried both XP and vista/turn off firewalls/opened ports/run as admin; no...

Uploading and Downloading Comparison using WebRequest & Sockets

Hiya I am working on an FTP client, can someone tell me the difference in speed and efficiency for using WebRequest and sockets (direct network streams) to download and upload files on the FTP server. (Our files will be video streams.) I am using C#3.5. ...

How to connect to host machine from within Virtual PC image

I am putting together a SVN demonstration using a WinXP Virtual PC image, and am unable to see my host machine from within the VPC guest OS. This demo will be performed while disconnected from our LAN, so I installed the Microsoft Loopback adapter on my laptop. In the TCP/IP settings I manually set the IP address to 192.168.3.1 to avoi...

How do I use cygwin behind the corporate firewall

I'm in a Microsoft IE environment, but I want to use cygwin for a number of quick scripting tasks. How would I configure it to use my windows proxy information? Ruby gems, ping, etc are all trying to make direct connections. How can I get them to respect the proxy information that IE and firefox use? ...

Determine if IP is blocked

Does anyone know if it is possible to reliably determine (programattically C/C++...) whether or not a firewall or IP filtering software is installed on a Windows PC? I need to detect whether a certain server IP is being blocked in my client software by the host OS. I don't need to worry about external hardware firewals in this situatio...

How do I use raw sockets in Perl?

How can you get a raw socket in Perl, and then what's the best way to built a packet for use with it? ...