Infrared Sockets

Winsock is typically used with the TCP/IP protocols. Infrared Sockets (IrSock), is an extension to Winsock that allows it to be used also for IR communication using the IrDA protocol. Each endpoint must support an IrDA-compliant device and an IrDA-compliant protocol stack.

Some Winsock functions work differently with IrDA than they do with TCP/IP. The principal differences are: