| Applicable Versions | NetSim Standard | NetSim Pro |
| Applicable Releases | v12.2 | v13.0 |
For applications such as the Database, FTP, Custom, CBR, and Sensing, the function fn_NetSim_Application_StartDataAPP() defined in the Database_FTP_Custom.c file of the Application source code project is used to start the traffic generation.
Here the call to function fnCreatePort(appInfo); sets the transport-layer source and destination port numbers for the application.
You can either comment the call to this function and directly assign values for the following variables or add a condition after the call and modify the following variables for specific applications:
appInfo->sourcePort
appInfo->destPort