networking

tcp reno, newreno and slow start

When packet loss occurs while in slow start, does the reno/newreno algorithms notice possible dupacks, or is it purely slowstart -> rto? Thus, if sending two packets (in start of slow start), and first one goes missing, does slow start do anything else but rto? It is confusing, since rfc states that 'in practice they (slow start & cong...

Scalability advice for large game site

I'm building a website where players can play a turn based game for virtual credits (like a Poker site, but different). The setup I came up with: One data server which contains all player accounts with associated data (a database + service). Database and API may be split into two servers, if that helps. One or more webservers which ser...

"Unable to read data from the transport connection" - C#

I'm starting to dip my toes in the world of network programming and I've recently come across a fairly old sample from a lecturers tutorial (Or so I'm told). We tried it on the university computers but it wouldn't work so the lecturer assumed it was down to a security setting either by Windows 7 or by the university computer systems. E...

Sending a Vector of objects over a network

Okay, so I'm writing a test program to send a vector of objects from server to client. -Server- import java.net.*; import java.util.Vector; import java.io.*; public class TestServer{ public static void main(String[] args) throws IOException { Vector<Obj> obj = new Vector<Obj>(); obj.add(new Obj(5)); obj.ad...

Setup connection through proxy for programs which does not support proxy settings

Windows 7, Tor vidalia ftp I have local proxy server and i want to be able to setup programs which does not support proxy connections settings to be able go through proxy. Is there any additional software may help? ...

Integer won't increment?

Okay, so I have a client/server test going on, and I am passing the Integer playerID to a thread where it gives the int value to a simple Player object, than increments playerID by 1. public static void main(String[] args) throws IOException { Vector<Player> player = new Vector<Player>(); SlickServer ss = new SlickSer...

Network sent Vector only updates once in client?

Okay, so I'm trying to send a vector of objects from server to client. the clients take control of one object from the vector and send it's x and y to the server vector. Now the server is running fine from what I can tell. things are updating in real time, but the client only seems to update right once - when it starts. this is the cli...

packet travelling in layers

I want to know how a network packet travels through different layers i.e. from physical layer to presentation layer in Linux systems. I want very detailed article or book on this topic with codes in C. I tried to Google it but unable to find. Any other type of guidance is welcomed. Kindly help. Thanks in advance. ...

Strange error logging in to supplier site from Sony laptop

This one would have me tearing out my hair, if I had any. We need to log in to a site from an advertising supplier. From within our office LAN I see the following ... I have no issues logging in to this site from my desktop PC running XP, but my boss - who is the one who needs to log into this site, cannot. On my boss's system, which ...

Can flash apps choose an specific network interface to use?

I've set up a VPN which provides a new DNS server. On my windows box, nslookup shows that it uses the VPNs DNS properly. A packet capture also shows that all data goes through the VPN, including DNS (verified by going to random websites and seeing no traffic other than to/from VPN host. However, there is a website (flash app) which send...

Accessing Router Config Page (Web UI/HTTP) in Code? How to?

Basically, i want to change settings in a routers settings page as found in common soho routers and i am unable to even get past the first step! that is, going to the page without prompting the user for their username and password (this is a must), you can assume i have the user/pass details. so i tried to access this page for instance....

Can a TCP checksum produce a false positive? If yes, how is this dealt with?

If a TCP payload gets corrupted in transit the recomputed checksum won't match the transmitted checksum. Great, all fine so far. If a TCP checksum gets corrupted in transit the recomputed checksum won't match the now corrupted checksum. Great, all fine so far. What happens when both the payload and checksum get corrupted and the recomp...

Finding IP address of development machine for Web API + iPhone setup

I'm working on some iPhone apps that communicate with an HTTP-based API server (which happens to be Rails, but that's irrelevant here), and oftentimes I've been bitten by the IP (un)reachability from the iPhone device to my MacBook Pro - the iPhone device must hit the URLs on the MBP. Right now, I have something like this in Config.h: ...

I have two network cards, the SMTP sends from working network card

Hi I have two network cards in my server, and both of them are connected, one is connected local and other one internet, I have created a SMTP service, the problem is that the smtp only tries sending emails from the local network card. I want it to try send emails from the internet network card, how can this be solved? ...

What's the best way to transfer data with a remote application across the internet?

I'm making a relatively simple program which will also be running on a few friends computers and they need to share some information. They will need to exchange ips in case they are changed via dhcp and maybe a few other things in the future, but right now that's it (this will likely be used to update the program if I ever change it too ...

c# tcp server client problem

I wrote a simple C# tcp server/client application, it works fine on the local network but when i tried connecting to the server from a different network, it wont connect. I looked up on port forwarding and i set the port and ip-address to forward to my local server but still the same problem. What do i do? What other settings do i need...

how to login in a ldap auth based network with fedora 13?

how to login in a ldap auth based network domain using the fedora 13? i want also to access the drivers, printers, etc. ...

Networking Router with QoS and Comcast Gateway Modem

We got comcast to come out and setup our Business Class internet service and currently right now I am stuck because I am loosing around "10mb" on a speed test at speedtest.com when I have the router/switch connected to the Comcast Gateway Modem. I know that this should be a question for Comcast, but lets face it, they are idiots. Let m...

How does BT magnet links work?

For the first time i used a magnet link. Curious about how it works i looked up the specs and didnt find any answers. From the wiki it says xt means exact topic and is followed by the format (btih in this case) with a SHA1 hash. I saw base32 mentioned, knowing its 5bits per letter and 32 letters i found it holds exactly 160bits which is ...

2 DNS servers on 2 adapters - How can I determine order or preference?

When VPN is enabled 2 adapters have a DNS server, the VPN and the normal NIC. Most apps use the VPN adapters DSN (nslookup, browsers, etc., verified with packet capture). But one flash app/site uses the NIC DNS server, which is not what I want to happen. Any suggestions on what I can do to troubleshoot this? How can I dig into the logi...