networking

C# - Calling a function in another program over a networked solution.

I have a server and a client program, and they communicate as expected. The only thing is, I have a combo box on the client program, and when this combo box is changed, I want it to call a function on the server program. How would I go about this? I've thought about it for a while, and just can't seem to get it to work. ...

Ubuntu inside VMware Player not connecting to host

Hi All, I am running a Ubuntu inside VMware player and it was working fine. But then I updated the ubuntu to latest version of it and from then it is not able to connect to the host i.e. Windows 7. Thus it is also not able to connect to internet. Can anyone tell how do I restore the connection with host. FYI - I have VMware Player netwo...

Linux: How to kill programs that use port 1935 ?

Hello experts, I have a red5 server (JAVA) running on my Linux server. Sometiles, the server shuts down. When I try to restart it I got an error: "Binding error, this port is alerady in use". So I try to kill the server with killall -9 java and try to restart the server: same error. I have to wait for a while (about 2-3 minutes) and...

which OSI layer handles?

some file transfer is in progress. the connection break s and then later after some time is restored. then on the file transfer continues from the point where it left off, which OSI layer handles this? presentation, application, TCP, IP, Sesssion ...

Get list of 'Friendly interface names' on a Mac (Airport, Ethernet, etc)

Hi, I'm developing an application in RealBASIC, but I need the list of interface names to populate a dropdown box. Parsing ifconfig didn't work (Got eth0, eth1, lo, etc...) I need the name that is displayed in system preferences (Ethernet, Airport, etc...) Is this possible in RealBASIC or is there a terminal command I can parse? Than...

How to get a precise ping measurment

Currently the windows ping command returns a value of milliseconds that is an integer. I would like to get a very accurate measurement lets say 4 digits after the point. Are there any tools that do that? ...

What methods, other than listening for Probe Requests, can be used to find 802.11 wifi devices?

I'm writing a Python module for finding nearby WiFi client devices. All my current scanner does is listen for Probe Requests and logs the clients MAC address. The problem I'm having is that I'm completely reliant on the device broadcasting a probe request for me to discover it. I'm wondering if there is any other way to discover devic...

what method should be used?

For finding the ip address of the smtp server in java? I cant find the right api method. Thank you ...

How to get **all** IP addresses of a domain?

I built the getaddrinfo() sample provided at http://beej.us/guide/bgnet/output/html/multipage/syscalls.html#getaddrinfo When I run it on an example domain, such facebook.com it lists three (3) IP address: IPv4: 69.63.189.11 IPv4: 69.63.189.16 IPv4: 69.63.181.12 I know, however, that there are quite a few more addresses (at leas...

how to test proxy internet connection using java ?

i have some code to test if the proxy server and port is working ,some of the code like this: System.getProperties().put("proxySet", "true"); System.getProperties().put("https.proxyHost", "localhost"); System.getProperties().put("https.proxyPort", "1234"); System.getProperties().put("http.proxyHost", "localhost"); System.getProperties()...

How does wifi handles SSID, addresses and canals ?

I can understand how a wired network handles redirections and what-nots since it uses hard-wired IP adresses, but I don't know how a wifi access point decides how a wifi user joins a SSID-named network: does the protocol scans which canals have the less interferences, and assigns frequencies to the best one ? What if conditions change ?...

AF_INET for IPC in windows

I wish to know that If protocol family AF_INET is used for local communication (IPC) in windows systems. (with loopback interface) will it be able to give performance same as AF_UNIX in unix. I tried for Named pipe in windows but it doesn't seems to me working for my case. AF_INET when used it will go through the TCP/IP stack. which wil...

Multicasting on multiple networks

Say, for example, that I'm part of a multicast group on 239.255.10.10. I'm also connected to two separate networks, one that has a 192.168.0.* and the other 192.168.1.* addressing. Both networks have a clients that is listening for incoming connections and are part of the above mentioned multicast group (because my client has it hardcode...

Block website without forcing user to restart browser?

I know blocking a website is a popular question but none of the answers I've seen address my particular situation: I want to block a website (to be selected by the user, which must also have Admin rights, on Windows XP), without forcing her to restart her browser. The well known technique of modifying the hosts file requires some brow...

Java - Human playable Server/Client Multiplayer

Hello! I'm currently trying to implement the game of Nim using Java, I want to be able to have one player act as the server and another as the player. I'm fairly new to Java networking and have only had experience using basic TCP/IP where the human client connects to a computer host. The trouble I'm having is that I need to be able to...

SSL Wrapper around iphone's app

hello, I have an app that connects to an inhouse gameserver. I want to wrap the traffic in SSL to prevent hackers from sniffing the passwords and what not. Anyways, how do I go about doing that with an iphone app? I'm using CFNetwork to communicate to the server, and everything is in our own inhouse protocol instead of using http or some...

Sniffing detection

Hi, Can someone tell me how exactly works "test ICMP"? (One of methods to detect sniffing in local network) ...

Ports that are always open? How does softwares like bittorrent manage to communicate even without port forwarding?

Hi, How come bittorrent clients manage to communicate to servers and other peers even if user has not configured port forwarding in their routers? Of course the speed will be very less compared to when port forwarding is done, but still they manage to communicate? How??? Are there any inbound ports which are always open? Regards, ...

c# - Search for UPnP Devices like Intel UPnP Spy

Hi Guys, I've googled this topic up and down for a couple hours and found nothing... er... less than nothing... I need a simple C# script to code a UPnP Spy like the Intel Device Spy... I cannot use the intel app because in our company we're providing power meters with network abilities which are mounted as upnp devices. Some of our cu...

Static Routing with Subnet Mask 255.255.255.255 and Blank Gateway ?

Greetings Overflowers, What static route configuration (as shown by command line "route PRINT"): Network Destination Netmask Gateway Interface Metric could be used to reach a specified static route (web proxy) in the Intranet, giving that: Subnet Mask = 255.255.255.255 Gateway = BLANK for a computer in a flat LAN. I tried Netma...