From Overbyte
Jump to navigation Jump to search

Main page -> ICS component reference -> TWSocketServer -> Addr


property Addr: string;


The IP address of interface to listen on. means all interfaces.


Best practices

How to

  • Listen on multiple interfaces
You may listen on one interface (giving his IP address) or all interfaces (giving as IP address). To listen to several IP addresses but not all, you have to use a TWSocketServer for each interface you want to listen to. Just use the same event handler for all your TWSocketServer components and of course always use sender argument in all those event handlers.