Back to product page

DataIP property


Holds IP address of data socket.

Type

String

Syntax

  • Basic
object.DataIP [= value]
The DataIP(object,value) syntax has these parts:
objectAn expression evaluating to an object of type XMPPFile
valueA 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.

Platforms

Windows