我已经编写好了一个登陆器,选择不同的区域会发送不同的数据,要发送的数据我也已经准备好了,我怎样用一个BUTTON事件来实现数据的发送呢以下是登陆是我向服务器发送的数据,如何将其添加到BUTTON事件中呢请帮帮我详细说明以下,因为学DELPHI不久很多东西不是很清楚.
- - - - - - - - - - -Send- -- - - - - - - - - - -
srcIP:127.0.0.1
srcPort:3849
DestIp:125.76.234.3
DestPort:80
Data:GET /pds/P3_1/update_408.dat.zip HTTP/1.1
Accept: */*
UA-CPU: x86
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; (R1 1.6); CIBA; .NET CLR 2.0.50727)
Host: xbinfo.cabalchina.com
Connection: Keep-Alive
- - - - - - - - - - -Send- - - - - - - - - - - - -- - - - - - - - - - -Send- -- - - - - - - - - - -
srcIP:127.0.0.1
srcPort:3765
DestIp:127.0.0.14.3
DestPort:3765
Data:!ET /pds/P3_1/update_408.dat.zip HTTP/1.1
Accept: */*
UA-CPU: x86
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; (R1 1.6); CIBA; .NET CLR 2.0.50727)
Host: xbinfo.cabalchina.com
Connection: Keep-Alive
- - - - - - - - - - -Send- - - - - - - - - - - - -