User Tools

Site Tools


kb:bestpractices:codingconventions:networking

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
kb:bestpractices:codingconventions:networking [2025/05/13 07:49] – joerg.hampelkb:bestpractices:codingconventions:networking [2026/10/06 13:16] (current) – joerg.hampel
Line 1: Line 1:
 ====== 07 Networking ====== ====== 07 Networking ======
  
 +===== TCP =====
  
 +=== TCP Listen VI ===
  
 +Set the ''resolve remote address'' boolean to FALSE unless you really need this feature. Resolving the name might take a long time if no DNS is available:
 +
 +{{:kb:bestpractices:codingconventions:tcp-listen-vi.jpeg?400|}}
 +
 +
 +===== UDP =====
 +
 +=== UDP Read ===
 +
 +Always wire an adequate ''max size'' for the datagram to the UDP Read VI. Ideally, make it a configuration setting. The default size is 548 bytes, which is very often too small and might lead to problems that are very difficult to track down. 
 +
 +{{:kb:bestpractices:codingconventions:udp-read-size.png?400|}}
 +
 +> //max size is the maximum number of bytes to read. The default is 548. (Windows) If you wire a value other than 548 to this input, Windows might return an error because the function cannot read fewer bytes than are in a packet.// 
  
 ----  ---- 
Line 10: Line 26:
  
 |< 100% 50% >| |< 100% 50% >|
-|[[kb:bestpractices:codingconventions:lvoop|<< 06 LVOOP]]  |  [[kb:bestpractices:codingconventions:dqmh|11 DQMH >>]]|+|[[kb:bestpractices:codingconventions:lvoop|<< 06 LVOOP]]  |  [[kb:bestpractices:codingconventions:database|08 Databases >>]]|
  
kb/bestpractices/codingconventions/networking.1747122579.txt.gz · Last modified: 2025/05/13 07:49 by joerg.hampel