TClientSocket能否使用UDP(30分)

  • 主题发起人 主题发起人 doubt
  • 开始时间 开始时间
我的一个应用非常简单, 在局域网内向一台机器发一个消息。
 
试过wsock120.zip吗?
 
>我的一个应用非常简单, 在局域网内向一台机器发一个消息
那么您可以直接使用Winsock.dcu啦, :)省得控件造成程序太庞大
 
DSP 的 wsocket.zip 98K. 98-8的. for d1,d2,d3,d4(?), c++ build.
包括:
> WSocket.pas (Winsock component - TCP, UDP, DNS,...)
> HttpProt.pas (HTTP client protocol - used by the web)
> FtpCli.pas (FTP client protocol - file transfert)
> FtpSrv.pas (FTP server protocol - file transfert)
> Ping.pas (ICMP echo protocol - ping a host)
> Pop3Cli.pas (POP3 client protocol - get mail from mail server)
> MimeDec.pas (MIME component - decode file attach, use with POP3)
> SmtpProt.pas (SMTP client protocol - send mail to server)
> NntpCli.pas (NNTP client protocol - send and receive newsgroups messages)
> TnCnx.pas (TELNET client protocol - terminal emulation protocol)
> TnScript.pas (TELNET client protocol - with automation)
> EmulVT.pas (ANSI terminal emulation in a control)
> TnEmulVT.pas (TELNET and ANSI terminal emulation combined)
> FingCli.pas (FINGER client protocol - Find informations about user)
> Wait.pas (A kind of progress bar)

抱歉, 上回讲错了, 我指的就是这个东西. 同一个控件可以支持tcp和udp...的server和client
 
Why so complex?
TUDP is enough!
All platform support tcp almost support udp!
If you want just send some message use tcp is enough for the speed is
not the problem. You can not see the improve of the performence you
change from tcp to udp
 
多人接受答案了。
 
后退
顶部