TWSocket.Addr

From Overbyte
Revision as of 14:51, 19 February 2006 by Wilfried (talk | contribs) (→‎Client)
Jump to navigation Jump to search

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