Reference Codebot.Networking.pas
Part of the Codebot package
The Codebot.Networking unit gives you network sockets. TAddressName resolves a host name to an internet address, and TSocket lets you connect, listen, accept, read, and write. Set Secure to True to use a secure connection through OpenSSL. TSocket can also write whole files, streams, and text, reporting its progress through an asynchronous task. If you just need to send something quickly, SocketSend sends data to a port on a host.
Items 40 items
| Name | Kind | Line |
|---|---|---|
| SocketSend | function | 170 |
| TAddressName | record | 29 |
| Create | function | 37, 39, 41 |
| Implicit | operator | 43, 45 |
| Resolve | function | 47 |
| Address | property | 49 |
| Host | property | 51 |
| Location | property | 53 |
| Resolved | property | 55 |
| TSocket | class | 86 |
| Accept | function | 125 |
| Close | procedure | 117 |
| Connect | function | 119 |
| Create | constructor | 111, 113 |
| Destroy | destructor | 115 |
| Listen | function | 121, 123 |
| Read | function | 127, 129 |
| Write | function | 131, 133 |
| WriteAll | function | 135 |
| WriteFile | function | 139 |
| WriteStream | function | 141 |
| WriteText | function | 137 |
| Address | property | 143 |
| Blocking | property | 145 |
| Connected | property | 159 |
| Kind | property | 147 |
| Port | property | 149 |
| Secure | property | 153 |
| Server | property | 151 |
| State | property | 155 |
| Timeout | property | 157 |
| TSocketKind | enum | 76 |
| skTcp | enum value | 78 |
| skUdp | enum value | 80 |
| TSocketState | enum | 62 |
| ssClosed | enum value | 64 |
| ssServer | enum value | 66 |
| ssClient | enum value | 68 |
| ssRemote | enum value | 70 |
| TTransmitEvent | procedural | 166 |