Share via


IrSock Functions

Send Feedback

The basic procedure for using IrSock is similar to that for Winsock.

The following table shows the Winsock functions that you use to create IrSock-applications. Information specific to IrDA is provided under Notes for IrDA Sockets.

Function PPC SP Description
bind X X This function associates a local address with a socket.
closesocket X X This function closes an existing socket.
connect X X This function establishes a connection to a specified socket.
getsockopt X X This function retrieves a socket option.
listen X X This function places a socket at a state where it is listening for an incoming connection.
recv X X This function receives data from a connected socket.
setsockopt X X This function sets a socket option.
socket X X This function creates a socket that is bound to a specific service provider.

See Also

Infrared Communications

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.