20. maj 2002 - 12:12Der er
4 kommentarer og 1 løsning
Direkte adgang til afsendelse af UDP
Jeg er ved at kode en DLL som afsender en UDP, men hvis jeg inkluderer en af de UDP-komponenter der følger med Delphi, så fylder DLL'en pludselig op mod 400 kb - er der ikke en direkte vel til afsendelse af UDP igennem winsock?
Microsoft RPC supports datagram, or connectionless, protocols; as well as connection-oriented protocols. Some of the features available when using datagram protocols are as follows:
· Datagrams support the UDP and IPX connectionless transport protocols. · Because it is not necessary to establish and maintain a connection, resource overhead is less using the datagram RPC protocol. · Datagrams enable faster binding. · Datagram RPC provides guaranteed, at-most-once delivery through its non-idempotent attribute. A non-idempotent routine is one that cannot be executed more than once because it will either return different results each time, or because it modifies some state. Contrast this with an idempotent routine which also provides guaranteed delivery, but does not ensure at-most-once delivery since transmission acknowledgement is not required.
· Datagram RPC supports the broadcast and maybe capabilities. Broadcast enables a client to issue messages to multiple servers at the same time. This allows the client to locate one of several available servers on the network, or to control multiple servers simultaneously.
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.