Logo Search packages:      
Sourcecode: pwlib version File versions  Download package

BOOL PIPXSocket::SetPacketType ( int  type  )  [inherited]

Sets the packet type for datagrams sent by this socket.

Returns:
TRUE if the type was successfully set.
Parameters:
type  IPX packet type for this socket.

Definition at line 1050 of file winsock.cxx.

References PChannel::ConvertOSError(), and PChannel::os_handle.

{
  return ConvertOSError(::setsockopt(os_handle,
                           NSPROTO_IPX, IPX_PTYPE, (char *)&type, sizeof(type)));
}


Generated by  Doxygen 1.6.0   Back to index