4.3.1 Socket Address Structure

The socket address structure is:

struct sockaddr_vv {
u_short sa_family;
u_short wFlags;
DWORD dwDeviceId;
UUID uuidProtocol;
};

sa_family

The value for the address format field is AF_VOICEVIEW.

uuidProtocol

16-byte universally unique identifier for the sockets protocol. It replaces the protocol parameter of the socket function.

wFlags

Reserved for future use. Its value should be 0.

dwDeviceId

Desired TAPI line device ID to use for subsequent calls. A value of -1 will specify the default TAPI device.

Note that this structure is different and slightly larger than the default sockets device.