I don’t think it socat’s the culprit, but think about using stoneinstead socat, because using fork()for each package received is a bit strange. The stone is called in your case like this (I think):
stone -n -d -d -d -d 192.168.0.40:37000/udp 1935/udp
IP-, , . , , :
//, UDP-. , UDP- , NAT-, , IP- , . UDP , UDP NAT , , 5 , .
UDP ( ), UDP-, , , . - , . , "- " UDP . , , IP-, , , . , , .
, , NAT ( ..) , (Config, UPnP ..), . .
, , :
UDP IP- . , , IP-, . , UDP , , , .
- UDP . DSL, , -. UDP, , . , , , UDP , - NAT, - , .
P2P. , , , IP P2P. , - " P2P" ( ), . , push- (Internet to Mobile), ( ). / . , - IP- 10.x.y.z.
, , :
IPv6. , 6to4. IPv6 NAT, IPv6. /iptables Intranet IPv6, Intruders .