networking

How to reliably get the computer's on-board network adapter's MAC address?

I am trying to (more or less) uniquely identify a system for licensing purposes. I have chosen the computer's on-board network adapter's MAC address for this task, since I can be sure that every cmputer running this software actually has one, and this avoids re-activation when changing e.g. the harddrive. I am having troubles reliably i...

Two Connections from behind firewal via one server - can the two connections send data directly without going through the server?

There are three computers, server-A client-B and server-C. All are connected via TCP/IP. Computer server-A and client-B are behind a firewall and can only make outward connections. Computer server-C can both listen and connect. Server-A and server-C will run my program and hence can both listen and connect, at least I can program them ...

Discovering instances of a program on a network

How would I write a program in such a way that it could discover other instances of itself on the network and let those instances "peer" with each other? I'm mainly looking for protocols that would allow me to do this (and, hopefully, not put too much stress on the network). ...

multiple download threads from a single source via iphone

Hi, I have a problem of downloading 5 different files from a single server. Is that possible to download all 5 files from that server over 5 individual threads ? If yes, is that efficient than downloading each file one after another via single thread ? ...

trace an address using ip address

how to trace the information of an individual using ip adress and email id can any one help me... i tried for a example using my friends ip address , and i was able to get only this information alone.... Location of the IP address 59.162.171.249: Visakhapatnam in India. but how to trace his address perfectly plz help me ...

Ethernet switch device driver

Hi We're designing a network device based around SoC, which contains MIPS core and 5-ports switch core, connected to the CPU via internal MII port. Device driver provided by a chip vendor represents 5-port switch as a single inteface from the OS perspective; the driver also supports VLAN and currently it splits 5 ports in two VLAN grou...

Converting NSData to Java float?

So I'm writing an application for my iphone that networks to my computer running a java application using a socket. But when I'm transferring data, I have to send a NSData object from my iphone, and of course the java program doesn't know how to interpret it. How can I fix this? I need to send 3 float values between the two applications....

AsyncSocket Delay Sending Data

So I'm writing an application for my iphone that networks to my computer running a java application using AsyncSocket. But when I try sending data from my iPhone to the java application, the data only prints out when I exit the iPhone application. Why does this happen and how can I fix it? ...

TcpClient doesn't connect

Hi All I am developing an Tcp client in C# and I am using the TcpClient class. I am not able to connect to the server. Debugging the application I can see that the call to Connect is successfull but after I do this , I check with netstat the status of the connection on both server and client. The result is that the server the connectio...

Starting the Synergys server on mac OS X

Here is the line I'm having trouble with... "Drag the synergys program from the synergy folder onto the Terminal window." I'm assuming this means a specific file within the synergy-1.3.1 folder, but I don't know which one... (unless I'm suppose to compile this first and then have a build file that I'm suppose to drag to the terminal an...

AsyncSocket Delay

So I'm writing an application for my iphone that networks to my computer running a java application using AsyncSocket. On the java side, it should print out "Ok" when the iPhone connects to the server. I also added a sleep() command to the iphone side, so after it connects to the server, it sends some data and then sleeps for 5 seconds. ...

Network stack crashed???

Our software includes a module to stream live video data to multiple clients. Most of time it works fine, but in some cases it seems to have caused some malfunction of windows network. When it happens, the LAN connection status in network connections still says "connected", and the IP address is normal. But I cannot ping any other devic...

Emulating network disconnects to locally test distributed app partitioning

I have several instances of a distributed application running on the localhost; every instance communicate with others through certain ports, all instances together make an ensemble. (I'm actually talking about ZooKeeper, running on Linux) Now I want to write unit tests to emulate ensemble partitioning. E.g. I have 5 instances, and I wa...

good sources for count to infinity and reverse poision examples

hey guys, what are some good sources for some examples. I cant seem to find any good sources. Im trying to figure out how to handle 3 nodes that are connected. Thanks ...

How to make proxy configurations in a java program

I have a PC which connects to internet through a proxy server. I'm able to browse google.com and all other sites. However i'm unable to ping google.com, smtp.gmail.com or any other websites . I'm trying send some automated mails through a java program, but every time it fails to connect to smtp.gmail.com. Is there any proxy configuration...

Good BitTorrent libraries in .NET?

Hi all, I'm looking to write an application that uses the BitTorrent protocol to do some file distribution. Said application will be written in C#. Ideally I'm hoping not to have to implement the protocol if someone else has already done it and written it into a library. Has anyone got any ideas? Thanks in advance! ...

Can I tell Virtualbox to use one of my ethernet cards?

I have a laptop with the standard wireless and wired cards, I would like the host system to use the wireless connection and the vm machine to use the wired connection. The point is that at the wired connection I can get a public, routable IP address, and I need that for my vm, while the host can work with the private IP. ...

Disable RARP packets from linux

Hi all, I am doing a script in which I change MAC address of interface in linux machine. But when I change the MAC address of the interface it generates an RARP packet (to get an IP address for the new MAC which is assigned). But this is not desirable in my scheme of things. I do not want the RARP to be generated. Can you guys suggest m...

Logging network traffic

I would like to log network traffic on my ADSL connection. The object of this is to see the changes in B/W throughout the day. I have installed wire-shark and I see that it generates a nice log file which can be exported to CSV. The problem is I would like to get the length of each packet os that I can anlayze them over time. This inform...

C# TCP listener

Hello all, I don't want to reinvent the wheel with another TCP server wrapper, so are there any good out of the box open source TCP server wrappers for .NET C#? Indy C# is kinda dead, and I cannot find any other packages that are atleast a bit maintained.. ...