System::Net::Sockets

Classes

ClassDescription
Details_SocketExceptionRepresents the exception thrown when a socket error occurs. Never create instances of this class manually. Use the SocketException class instead. Never wrap the SocketException class instances into System::SmartPtr.
IPPacketInformationRepresents information about the packet. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.
LingerOptionSpecifies whether a socket will remain connected after a call to the Close() or Close() methods. It also specifies the period the socket will remain connected if sending of the data continues. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.
NetworkStreamProvides the underlying stream of the data for the network access. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.
SocketThe Socket class implements the Berkeley sockets interface.
TcpClientRepresents a client for the TCP network services. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.
TcpListenerRepresents a listener for the TCP network services. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.
UdpClientProvides User Datagram Protocol (UDP) network services. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.

Functions

FunctionDescription
bool operator==(IPPacketInformation, IPPacketInformation)
bool operator!=(IPPacketInformation, IPPacketInformation)

Enums

EnumDescription
SocketTypeEnumerates the socket types.
AddressFamilyEnumerates the address families.
IOControlCodeEnumerates the IO control codes.
ProtocolFamilyEnumerates the protocol families.
ProtocolTypeEnumerates the protocol types.
SelectModeSpecifies the mode for polling the status of the socket.
SocketErrorEnumerates the socket error types.
SocketFlagsProvides constant values for the socket messages.
SocketOptionLevelDefines socket option levels for the ‘Socket’ class.
SocketOptionNameDefines socket option names for the Socket class.
SocketShutdownDefines constants used by the Socket.Shutdown method.

Typedefs

TypedefDescription
SocketException