TWSocket.Addr

From Overbyte
Revision as of 17:11, 19 February 2006 by Wilfried (talk | contribs)
Jump to navigation Jump to search

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

Definition

property Addr: string;

Description

Client

The host to connect to. It can be a dotted IP address or a hostname. If it is a dotted IP address then Connect will return immediatly, if it is a hostname it will block until the hostname is resolved, so DNSLookUp is perferable.

Server

The interface to listen on. 0.0.0.0 means all interfaces. Note that for a TCP server the use of TWSocketServer is preferable.

Example

Best practices

How to