RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Sockets.TSocketType Enumeration

The TSocketType type defines the set of possible socket types.

Pascal
TSocketType = (
  stStream,
  stDgram,
  stRaw,
  stRdm,
  stSeqPacket
);
C++
enum TSocketType {
  stStream,
  stDgram,
  stRaw,
  stRdm,
  stSeqPacket
};

Sockets

The following table lists the possible values for the TSocketType type and the meaning corresponding to each value:

Value 
Description 
stDgram  
Single datagram packets, not used by IP. Non-reliable.  
stRaw  
The socket sends and receives raw datagram packets. Used by IP.  
stRdm  
Reliably delivered message.  
stSeqPacket  
Sequenced packet stream sends and receives any type of IP packet.  
stStream  
Reliable streaming data packets. Used by TCP.  

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!