NetSim Internals

How do I get the current simulation time?
To start, note that the notion of time in a simulation is not directly related to the actual time that it takes to run a simulation (as measured by a wall-c...
Sat, 4 Apr, 2020 at 11:25 AM
What is the API to create a packet?
Applicable Versions NetSim Standard NetSim Pro Applicable Releases v10 v11 v12 v13 NetSim_PACKET* fn_NetSim_Packet_CreatePacket(int nLayer)...
Tue, 21 Feb, 2023 at 11:09 AM
How do I write to NetSim console for debugging ?
Applicable Versions NetSim Standard NetSim Pro Applicable Releases v9 v10    v11 v12 v13 fprintf() statement can be used to print to NetSi...
Sat, 18 Feb, 2023 at 11:54 AM
How do I change the payload of a packet in NetSim?
Applicable Versions NetSim Standard NetSim Pro The payload of the packet is added to the application layer while generating the packet. NetSim adds...
Wed, 22 Feb, 2023 at 5:24 PM
What are the packet buffers in nodes in NetSim ? How can they be accessed ?
There are two packet buffers for regular nodes in NetSim. These are a. Socket buffer between the application and transport layers b. Access b...
Fri, 29 Sep, 2017 at 12:40 PM
How to use fprintf() with stderr, stdout and printf() statements in NetSim?
Applicable Versions NetSim Standard NetSim Pro Applicable Releases v10.2 v11.0 v12 v13 In NetSim printf() is customized, and both fprintf(st...
Sun, 12 Feb, 2023 at 6:42 AM
How do I print TCP variables to a file or to console?
Applicable Versions NetSim Standard NetSim Pro Applicable Releases v9 Please use printf based debugging to get a clear understanding of your co...
Fri, 19 Nov, 2021 at 4:59 PM
How can I create my own packet and my own event in NetSim ?
Applicable versions NetSim Standard Netsim Pro   NOTE: Procedure may vary for different releases of NetSim. Please follow the steps mentioned under t...
Sat, 18 Feb, 2023 at 3:59 PM
What are DLL files in NetSim?
DLL is a dynamic link library file format used for holding multiple codes and procedures for Windows programs. DLL files were created so that multiple progr...
Fri, 1 Feb, 2019 at 3:01 PM
Where in the code are the values of GUI parameters initialized in NetSim?
The parameters that are configured in NetSim GUI are written to a Configuration.netsim file when you run the simulation. You will find this file in folder %...
Mon, 18 Jan, 2021 at 1:03 PM