Download Now
Forums

    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

    NameKindLine
    SocketSendfunction170
    TAddressNamerecord29
    Createfunction37, 39, 41
    Implicitoperator43, 45
    Resolvefunction47
    Addressproperty49
    Hostproperty51
    Locationproperty53
    Resolvedproperty55
    TSocketclass86
    Acceptfunction125
    Closeprocedure117
    Connectfunction119
    Createconstructor111, 113
    Destroydestructor115
    Listenfunction121, 123
    Readfunction127, 129
    Writefunction131, 133
    WriteAllfunction135
    WriteFilefunction139
    WriteStreamfunction141
    WriteTextfunction137
    Addressproperty143
    Blockingproperty145
    Connectedproperty159
    Kindproperty147
    Portproperty149
    Secureproperty153
    Serverproperty151
    Stateproperty155
    Timeoutproperty157
    TSocketKindenum76
    skTcpenum value78
    skUdpenum value80
    TSocketStateenum62
    ssClosedenum value64
    ssServerenum value66
    ssClientenum value68
    ssRemoteenum value70
    TTransmitEventprocedural166