Recently I've added some load-balancing capabilities to a piece of software that I wrote. It is a networked application that does some data crunching based on input coming from a SQL database. Since the crunching can be pretty intensive I've added the capability to have multiple instances of this application running on different servers ...
We have a client/server communication system over UDP setup in windows. The problem we are facing is that when the throughput grows, packets are getting dropped. We suspect that this is due to the UDP receive buffer which is continuously being polled causing the buffer to be blocked and dropping any incoming packets. Is it possible th...
the timeout interval dynamically changes depending on the network. It is generally represented by
TimeoutInterval = EstimatedRTT + 4*DevRTT
But why do we you 4*DevRTT?
Why can't it be 2*DevRTT??
...
We have a system (built in C) in place that performs communication over UDP. Recently we have found a necessity to guarantee delivery of packets. My question is: what would be the minimum additions to a UDP based system to ensure delivery using ack packets? Also, ideally without having to manipulate the packet headers. We have applic...
I came across some crusty and limited efforts awhile back but I was wondering if there was something truly functional that I missed, preferably in C++ but C is better than nothing.
...
Is there a python library which implements a standalone TCP stack?
I can't use the usual python socket library because I'm receiving a stream of packets over a socket (they are being tunneled to me over this socket). When I receive a TCP SYN packet addressed to a particular port, I'd like to accept the connection (send a syn-ack) and t...
I'm writing a socket server and flash game client. The game requires real-time commands such as movement and turning. It is important for these commands to be sent by the server to the client as soon as possible because the other clients will otherwise desynchronise a lot with the moving/turning client.
This is an example of the problem...
I need to write packet sniffer in Linux that detect http packet that send and save the url that request .
I see code in security-freak
and run related code . This code run and only sniff received packet but I need send packet to sniff .
In this code how to detect sent packet ?
I can't use any library like libcap or ... (forbidden)
the...
A long time ago I tried to study the Open System Interconnection Reference Model 7 layer network protocol standard and gave up after I couldn't find any actual examples of an application which used all 7 layers. Are there any examples now of applications which use and implement all 7 layers? Or are the highest few layers a product of t...
In my application, I have to send notification e-mails from time to time. In order to send mail (over SMTP), I have to get the MX server of that particular domain (domain part of e-mail address). This is not a Unix application but an Embedded one.
What I do goes like this ::
1 - Send a DNS query (MX type) containing the domain to the c...
What are the best examples of real life protocols that tunnel through HTTP? XMPP/Jabber? I'm looking for actual links to documentation? or specs for how they tunnel.
I'm in working on project where I'm wondering if I should start with REST, XML-RPC, or SOAP and then have a fast TCP flavor of the protocol. Or start at the low level and t...
Does the HTTP protocol specify a max length for the ETag?
...
I need to reverse engineer the Metatrader 4 network protocol. MT4 Server doesn't have an API and I have found zero documentation about its protocol.
Any ideas about where I can start?
I never done this type of work before, but I know it's doable, somebody already did it and developed a proprietary API library to talk back and forth wit...
I can see that lot's of programs like openvpn and Teamviewer for their VPN Connection creat a virtual network connection on windows. I want to create one for myself for testing purposes.
Is it possible to create one programmatically or so?
...
Consider custom network protocol. This custom protocol could be used to control robotic peripherals over LAN from central .NET based workstation. (If it is important, the robot is busy moving fabs in chip production environment).
there are only 2 parties in conversation: .NET station and robotic peripheral board
the robotic side can on...
In a pure aloha protocol, if the new packets arrival rate is X how can I calculate the
total packet arrival rate (new + old the failed to send)?
...
Is there any Perl module which has the capability to send raw packets on Windows?
I know there is Net::RawIP, but it seems that it does not work on Windows.
...
Does someone know about a CPAN module on Win32 that captures network packets and edit them on the fly? As far as I know, the only Perl module on Win32 that deals with packets on the fly is Net::Pcap but it only support passive monitoring and not affet the TCP/IP stack.
Is there a such module could someone provide example /reference /doc...
Hi all,
I would like to capture all incoming HTTP packets of my machine. To do that I'm using SharpPcap which is a WinPcap wrapper.
SharpPcap works very well but it captures TCP packets and this is too low level to do what I want. Does anyone know how can I easly get full HTTP requests/responses from all these TCP packets ?
Thanks
...
We bought a Grace wifi radio. Grace has a cool iPhone app that connects to the radio and lets you control it.
My question is.. how the heck does this work? How can the iPhone connect to the radio and then control it??
...