Command Details: Bind
Category
Extended
Details
Command Code: | 10h |
Valid for: | Instance |
Description
This command binds a socket to a local port.
Command Details
Field
Contents
Comments
CmdExt[0]
Requested port number (low)
Set to 0 (zero) to request binding to any free port.
CmdExt[1]
Requested port number (high)
Response Details
Field
Contents
Comments
CmdExt[0]
Bound port number (low)
Actual port that the socket was bound to.
CmdExt[1]
Bound port number (high)