DataIP Property
      
 

Description

Holds IP address of data socket.


Property type

A String value.  


Syntax

object.DataIP [= value]



The DataIP Property syntax has these parts:

Part Description
object An expression evaluating to an object of type XMPPFile.
value A String value. IP address where data socket will connect.

Remarks

This property holds IP address where should data socket connect to stream data. It will be autogenerated by wodXMPP on SendFile method call, but you can change it in FileTransferStart event if you want to force different IP to be used. wodXMPP will bind all interfaces anyway. You can, also, change it to different Proxy IP (together with DataPort property) so clients stream data through "relay proxy" located somewhere outside of your network - useful if you're behind NAT or firewall.