Difference between revisions of "TWSocket"

From Overbyte
Jump to navigation Jump to search
Line 11: Line 11:
  
 
{|  
 
{|  
| width="140" valign="top" | [[TWSocket.Addr | Addr]] ||||
+
| width="140" valign="top" | [[TWSocket.Addr | Addr]] |||| The host to connect to (client) or the interface to listen on (server).
 
|-
 
|-
 
| valign="top" | [[TWSocket.AllSent | AllSent]] ||||
 
| valign="top" | [[TWSocket.AllSent | AllSent]] ||||

Revision as of 14:38, 19 February 2006

Overview

  • unit WSocket.pas
  • inheritance

TWSocket component is implementing the TCP and UDP protocol described in RFC xxx and RFC xxx. It is used in almost every other ICS component.

TWSocket component can be used as client or a server. For its use as server however TWSocketServer is encouraged because it has some advanced features.

Properties

Addr The host to connect to (client) or the interface to listen on (server).
AllSent
BufSize
ComponentOptions
DnsResult
DnsResultList
FlushTimeout
Handle
HSocket
IcsLogger
LastError
LineEcho
LineEdit
LineEnd
LineLength
LineLimit
LineMode
LingerOnOff
LingerTimeout
ListenBacklog
LocalAddr
LocalPort
MultiCast
MultiCastAddrStr
MultiCastIpTTL
MultiThreaded
PeerAddr
PeerPort
Port
PortNum
Proto
RcvdCnt
RcvdCount
RcvdPtr
ReadCount
ReqVerLow
ReqVerHigh
ReuseAddr
SendFlags
SocksAuthentication
SocksLevel
SocksPassword
SocksPort
SocksServer
SocksUsercode
State
Terminated
Text

Methods

Abort Align test
Accept
CancelDnsLookup
Close
CloseDelayed
Connect
Create
DeleteBufferedData
Destroy
DnsLookup
Dup
Flush
GetPeerAddr
GetPeerName
GetPeerPort
GetSockName
GetXAddr
GetXPort
Listen
MessageLoop
MessagePump
Pause
PeekData
ProcessMessage
ProcessMessages
PutDataInSendBuffer
PutStringInSendBuffer
Receive
ReceiveFrom
ReceiveStr
Release
Resume
ReverseDnsLookup
Send
SendStr
SendTo
SetLingerOption
Shutdown
TimerClear
TimerCmp
TimerIsSet
ThreadAttach
ThreadDetach
WaitForClose Align test

Events

OnBgException Align test
OnChangeState
OnDataAvailable
OnDataSent
OnDebugDisplay
OnDnsLookupDone
OnError
OnLineLimitExceeded
OnMessagePump
OnSendData
OnSessionAvailable
OnSessionClosed
OnSessionConnected
OnSocksAuthState
OnSocksConnected
OnSocksError

How to

Title