network

Monitor Network Traffic Mac

I'm wondering how to go about monitoring network traffic on my Mac. Like the way activity monitor does it, showing the bytes / packets in and out. I know it's a bit vague, but I'm unsure of the best place to start. EDIT: I forgot to mention, I'm wanting to do this in code, not use an existing piece of software. ...

Qt Sockets and Endianness

Hello I'm writing a program that uses QUdpSocket for transmiting data over the network. This is my first socket program, and I've come across an interesting problem called Endianness. My actual question in, do I have to worry about Endianness when I'm using QNetwork as my sockets library? If I do have to worry, what do I have to do to ...

raw h.264 packet capture and playing in VLC

Hi, I am capturing packets off the network from a video conference HDX. The video is sent in RTP and is encoded in H264. I am trying to capture these packets and generate a video file. I wrote raw H264 data from the packets to disk and i am trying to play it in VLC. VLC just shows a green box. Am i being too naive in my approach with...

link state notification in Java

Is there any way in Java to receive event notifications whenever link state changes on a computer (connected, disconnected, up, down, etc)? Thanks! ...

HTTP gateway timeout

Hi buddies, When I tried to request the data across the internet through a web service I received an error as: Error: The request failed with HTTP status 504: Gateway Time-out. Can anyone please give an insight about this error, and a solution too? Thanks in advance. ...

Adobe Air: Is it possible to save files to a network path (osx)

I was wondering if it would be possible to write a file, not to the local system, but to a connected server or other network path. Would i have to use an external php interface for this or can i entrust this to the AIR framework? I'm pretty sure that AIR has certain security precautions to prevent this. Thanks a bunch! Regards ...

Android AVD With GoogleApi, Not Getting Network Connection

I am working on a Windows XP Machine. When running AVDs out of Eclipse, I am getting "No Network Connection" when I am plugged into my company's network and using an AVD that was built with the "Google APIs by Google Inc., Android API 7, revision 1". If I use this same AVD (Google API) and connect to the internet through a Verizon Wirel...

How to connect / disconnection connection on windows XP / 2K with c#

Hi, I have to control a network connection located in the Network folder in Windows XP. How can I do that with C# ? I have found some method to enable or desable the adapter but it is not my case. Thanks in advance ! ...

Java NIO SocketChannel writing problem

I am using Java NIO's SocketChannel to write : int n = socketChannel.write(byteBuffer); Most of the times the data is sent in one or two parts; i.e. if the data could not be sent in one attemmpt, remaining data is retried. The issue here is, sometimes, the data is not being sent completely in one attempt, rest of the data when tried to ...

disconnect dialup from php

I have an application for a client and it asks me to retry the internet connection in order for the host to acquire a new ip. Problem is, I can't find a way to disconnect and connect back again with the internet connection using php. Any ideas? ...

How to reliably identify users across Internet?

I know this is a big one. In fact, it may be used for some SO community wiki. Anyways, I am running a website that DOES NOT use explicit authentication of users. It's public as in open to everybody. However, due to the nature of the service, some users need to be locked out due to misbehavior. I am currently blocking IP addresses, but ...

linux: disable using loopback and send data via wire between 2 eth cards of one comp

Hello I have a comp with 2 eth cards, connected with patch-cord (direct eth. cable from 1st to 2nd). The linux is installed, I want to send data from 1st network card to 2nd. And I want to force the packet to pass via cable. I can set up any ip on cards. With ping I get counters on cards constant. Is it possible with tcp/ip sockets? ...

ASP.Net File Upload Network Issue

I have tried both the .net FileUpload control and the ajax Asyncfileuploadcontrol to upload a file less than 500kb. It seems that when I tried to go through my wireless router (att.bellsouth) that the uploads always fail, however when I plug my droid into my laptop and use my pda connection it works perfectly fine. I'm wondering if t...

Unable to send SMTP mail with .NET, network issue?

I am trying to send an smtp email through gmail's smtp server using the code below: MailMessage message = new MailMessage("[email protected]", "[email protected]", "Testing SMTP", "Test, yo"); SmtpClient client = new SmtpClient(); client.EnableSsl = true; client.Host = "smtp.gmail.com"; client.Port = 587; client.Credentials = new Netwo...

ssms cannot connect to default sql server instance without specifying port number

I have multiple SQL Server 2005 instances on a box. From SSMS on my desktop I can connect to that box's named instances with no problem. After some recent network configuration changes, when I want to connect to the default instance from SSMS on my desktop, I have to specify the port number. Before the network changes, I did not have to ...

Algorithm of programical building scheme of network by snmp.

Hi. I am trying to write an application that greps some information about network by snmp ptotocol. Almost all is done, but now I need somehow to draw the topology of the network. Is there any algorithm to use for discovery of network topology by snmp? ...

JAVA: How do I accept input during a certain period of time only

Im trying to do a simple game where I continually need input from players. This needs to happen during a certain time period only. Everything that is sent after that will be discarded. After the time period a new game starts. So: Start game Wait for input from all players during 10 seconds > 10 secs no more input Calculate the winner a...

is there any scala network library with actor model

hi all i'm now to scala. i need a network library with actor model. or the best choise is java.nio? ...

"Invite your friends" feature in RoR

Hi, many social networks let to invite your gmail-hotmail-yahoo friends (even Outlook, but I thinks that is more difficult) to the social network. Basically the app read your email friends list and sent a email invitation. How can I achieve this in RoR? Thanks ...

Compare then download

Hi all ! I have a plist in my document folder of the app with one string, an int value. An another plist is on my server with also a string, an int value. How can i compare the two int value and then do something if one is bigger than the other thanks to all ...