networking

Send data through 3G hardware device onto ftp site?

(Note: I am NOT talking about an iphone/phone.) I'm planning to get developed an independent hardware device which will be located in locations with just a power connection and 3G connectivity. These devices will monitor certain environment variables and SHOULD upload the data file generated (its a file) onto an ftp site. The device it...

Is there a way to access a shared windows folder via cocoa touch (from iPhone/iPad)

Hi there, I want to access some pictures saved in a windows folder which is shared to a local network. Is there an easy way to access this folder using cocoa touch on the ipad (connected via wifi)? Thank you! ...

Network probing on IPv6

I am familiar using IPv4 broadcast of UDP packets as a technique for probing the network looking for servers running a given service. I.E. the broadcast packet is sent out on a given port and the listening servers can reply to this packet and the reply will allow the client to know the ip addresses of the available servers. I am wonder...

Java HTTP Post - weird stream behavior

I was working on HTTP post using java and encountered a weird stream behavior. Here's what happened: Func() { String data = “MyMessage” URL url = new URL("http://edsall:8080"); URLConnection conn = url.openConnection(); conn.setDoOutput(true); OutputStreamWriter wr = new OutputStreamWriter(conn.getOutputStream())...

Recommendation for TCP/IP message modifier

I would like a recommendation for a tool(sniffer that able to modify packets maybe?) that would be able to mess up the TCP packets sent/recieved between the 2 apps in various ways. The main purpose is to test the behavior of the apps when bad/invalid messages arrive. An invalid message is a valid TCP packet but the application level form...

How to ensure that a server listens on IPv6 if possible and IPv4 otherwise?

I am trying to write a server application that listens to both IPv6 and IPv4 connections. The proper way to accomplish this seems to be listening on IPv6 address, which will also accept IPv4 connections. The relevant piece of code is: memset(&hints, 0, sizeof(hints)); hints.ai_family = AF_UNSPEC; hints.ai_socktype = SOCK_STREAM; hints....

Bind Address and Mysql Server

Hi all, I came across the bind address while trying to configure the mysql server. The details of why I want to configure the bind address is in the link below. http://stackoverflow.com/questions/3540051/multiple-hostnames-and-multiple-privileges Now, I wan to understand the purpose of the bind address. In the sense, is a bindi...

Send data to a SPECIFIC iPhone application through mobile network (No Internet).

I am looking for a way to send data to a SPECIFIC iPhone application without going through Internet... thus using the mobile network. Thanks. ...

How to send a multicast ping using .NET?

How can I send a multicast ping in .NET ? So that all computers on the network respond ? ...

About network protocol

How do protocols like TCP identify the beginning of a new frame? ...

C# Networking TCP/IP?

Hi All I am in need of some websites where I can buy C# WinForms networking libraries/components/dll's from. Can anybody please suggest any? They should be pretty cheap, but any and all links are welcome :) I can only find one website, and I don't like the look of what they have. Thank you ...

Suggest me the some good tutorial/links or ebook to learn about Computer networking security

Hello i am a beginner in the field of computer network security but i want to learn it more, so i can enhance my knowledge in this filed. So please suggest me some good tutorials or ebooks from where i can learn it from starting to advance level. Thanks in advance ...

C socket: does send wait for recv to end ?

Hi, I use blocking C sockets on Windows. I use them to send updates of a data from the server to the client and vice versa. I send updates at a high frequency (every 100ms). Does the send() function will wait for the recipient recv() to receive the data before ending ? I assume not if I understand well the man page: "Successful com...

How to capture traffic details of GPRS connection?

I have an application where I need to count accurately number of bytes uploaded and downloaded (on both window and linux palrforms) on GPRS connection (a ppp connection). The application is in java. However I doubt if I can do it in pure java. Mix of commandline and java is also OK. How do I do it? ...

How to check if Web server is up? (C#)

I am building a monitoring application to continuously monitor all aspects of my system. I was hoping to use the Ping() function to determine if the server is up but the MSDN documentation itself says that it is not the best way: A successful Ping indicates only that the remote host can be reached on the network; the presence of ...

Eclipse network settings: unable to get updates

When I try to install Eclipse updates or add-ons, I receive the following error message: I'm using Debian Linux without desktop environment, I guess usually network settings are being obtained by Eclipse from Gnome or KDE global settings (however, I never used them for long enough). There are no environment variables set as for system...

Java Networking: Connection refused - Yes, my server is running...

Hi, I'm getting following error when my client tries to connect to my server socket: java.net.ConnectException: Connection refused: connect But, my server is really running, on the same machine. I try to connect to it by using the external IP of my router. But when I try to connect with "localhost", it works. And, yes I did port forw...

Why are most computer games no more than 16v16?

From a programming/network point of view, what are the reasons why there are very few/no larger scale games than 16v16? There are some 32v32 games but these are seeming exceptions to the rule. ...

Screenshots taken contain only black pixels

Why do I receive a black screen when using the following code to take a screenshot every 20 milliseconds and transmit it to a peer over an encrypted connection? (I am aware that 20 milliseconds is a bit fast of a refresh rate, but it seems that is not the problem. The processor and network can keep up quite well with the refresh rate, th...

Does TCP send a SYN/ACK on every packet or only on the first connection?

I have a TCP server that listens for an incoming client, then sends it one packet of data every second. I was wondering, does the SYN/ACK packet only get sent on initial connection, so it looks like this: <client connect> SYN ACK DATA DATA DATA <client disconnect> Or does it get sent with every packet, like this? <client connect> SYN...