====== 21 Networking ====== ===== Firewall Configuration ===== [[https://www.ni.com/en-us/support/documentation/supplemental/10/configuring-software-and-hardware-firewalls-to-support-national-.html|Configuring Software and Hardware Firewalls to Support NI Products]] ---- ===== Pitfalls ===== === IP to String === The //IP to String// function converts an IP network address to a string. {{:kb:labview:pasted:20240426-075804.png}} The ''dot notation?'' input indicates whether ''name'' is in dot-notation format. The default is FALSE, which makes LabVIEW try to resolve the name. This can take a long time depending on the specific DNS setup of the computer this function is executed on. To avoid timeouts, if a resolved name is not required, make sure to wire a ''true'' constant to this function. === TCP TIME-WAIT === //Why Do I Get Error 60 When Closing and Opening a TCP Connection on the Same Local Port?// * Take a look at: http://digital.ni.com/public.nsf/allkb/119D334B8B78732E862574E1006D1839 === Nagle Algorithm === By default, LabVIEW uses the [[https://en.wikipedia.org/wiki/Nagle%27s_algorithm|Nagle algorithm]] when doing TCP communication. The Nagle algorithm is one of the basic algorithms of TCP that helps reduce Internet traffic by combining several small packets into a single large one. While this increases the efficiency of sending large messages such as those commonly sent in normal Internet traffic, the algorithm can introduce some latency for situations where small amounts of information are being sent back and forth, such as in instrument handshaking. * https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019NZfSAM&l=en-US