CSocket.bind Method | |
Associate a local address with a socket.
Namespace:
VO
Assembly:
VOInternetClasses (in VOInternetClasses.dll) Version: 2.19
Syntax VIRTUAL METHOD bind(
nPort AS WORD,
cIP AS STRING,
nFamily AS SHORT
) AS LOGIC
public virtual bool bind(
ushort nPort,
string cIP,
short nFamily
)
Request Example
View SourceParameters
- nPort
- Type: Word
Port number at cHostNameOrIP. - cIP
- Type: String
String containing the local name of an Internet server. Alternately, the string can contain the IP number of the site in ASCII dotted-decimal format (for example, 11.22.3.45). If NULL_STRING is specified, the local host name is assumed. - nFamily
- Type: Short
SHORTINT number specifying the Address Family.
Return Value
Type:
LogicSee Also