Difference between revisions of "TWSocket.Addr"
		
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
		
		
		
		
		
	
| m | |||
| Line 1: | Line 1: | ||
| + | == Definition == | ||
| + | |||
| + |  '''property''' Addr: '''string'''; | ||
| + | |||
| + | == Description == | ||
| + | |||
| === Client === | === Client === | ||
| Line 5: | Line 11: | ||
| === Server === | === Server === | ||
| − | The interface to listen on. '''0.0.0.0''' means all interfaces. | + | 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 == | ||
Revision as of 14:47, 19 February 2006
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, 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.
