» Home » simulate » Page 1
How would I simulate TCP-RTM using/in NS2?
by hamaholic in Network & Servers

Here is a paper named "TCP-RTM: Using TCP for Real Time Multimedia Applications" by Sam Liang, David Cheriton.

This paper is to adapt tcp to be used in Real time application.
The two major modification which i actually want you to help me are:

On application-level read on the TCP connection, if there is no in sequence data queued to read but one or more out-of-order p

C : How to simulate an EOF?
by ChristianM in Programming Languages

I am currently reading K&R's book and typing in the examples from the first section, and there are a couple of examples such as this:

while((c = getchar()) != EOF) {
//do something

I am testing these examples on a Windows box and thus running the compiled exe files from the cmd prompt.

To test the example above, ho

TAGS : simulate

Can I simulate NFC-V tag?
by tjh0001 in Programming Languages

I'm working on a NFC application which would be using NFC-V tags with ISO 15693 specification. Unfortunately, I do not have a NFC enabled phone at the moment. I wanted to know if I can simulate the behavior of the NFC-V tags in some way.
I know the Android developer website has a NFC Demo, which has a class called FakeTagsActivity. But, that uses NDEF messages. This will not be compatible

TAGS : simulate

How to simulate Keystrokes in C#?
by mikieb in C & C++ & C#

Google gives this but it seems to only work for a WindowsForms class. I'm completely new to C#. What I'm trying to make is a program that monitors for an event, and then (for example), acts as if the 'H' key has been pressed. I don't really want to worry about what the active window is or anything, or sending a keystroke to an application, I just want the program to act as if I have physically

How to simulate [L] in .htaccess
by Indiana in Development Tools & Services

I have a .htaccess file with a number of RewriteRules.

How can I exclude already existing files and directories from having run through each of the RewriteCond / RewriteRule pairs?


RewriteCond %{REQUEST_FILENAME} -f
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule .* - [F,L]

won't work reliab

How to simulate interrupts in C/C++?
by Scott Walsh in Programming Languages

I am trying to design an artificial learning unit. Naturally I want to simulate the model before microcontroller implementation. The main issue with simulation is trying to simulate microcontroller sensor interrupts (say with a PIC18). I'm not so much looking at actually causing an interrupt as I am trying to simulate one with code.

I guess this simply boils down to basic C/C++

How to simulate inner exception in C++
by dmxlite in C & C++ & C#

Basically I want to simulate .NET Exception.InnerException in C++. I want to catch exception from bottom layer and wrap it with another exception and throw again to upper layer. The problem here is I don't know how to wrap the catched exception inside another exception.

struct base_exception : public std::exception
std::exception& InnerException;

How to simulate a scheduler?
by jch in Coding

In my firmware I write to MicroSD in a background task, and I've got a lot of higher-priorities interrupts enabled, some of which can take several milliseconds.

So the writing/reading from SPI can be interrupted at any moment, and for writes that may not be such a problem (if SPI behaves anything like UART), but during reads I'm afraid that my hardware SPI FIFO's will overflow if th

How to simulate a spreadsheet
by rainy in Programming Languages

I am working with Sigma grid, populating it from PHP. Sigma is supposed to have a formula handling function, but it only seems to work with JS loaded datasets. So I was wondering if it was possible to modify some of the cells after load of page, do include spreadsheet-like formulae?

This is the code produced by Sigma (one row of it):


How to simulate a TCP layer?
by dbrews in Programming Languages

I am developing a client server socket application for which I want to simulate the packet data transfer.I want a simulator which simulates the dropped packets data, message statuses, calculating packet checksum etc. Is it possible to simulate a TCP layer? If possible please provide me some links. Thanks in advance.

TAGS : simulate layer

Privacy Policy - Copyrights Notice - Feedback - Report Violation - RSS 2014 © bighow.org All Rights Reserved .