Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

ÓÃvb±àдľÂí³ÌÐò

ľÂíÒ»°ã·ÖΪÁ½¸öÖ÷³ÌÐò:Ò»¸öÊÇ·þÎñÆ÷¶ËµÄ³ÌÐò(server),ÁíÒ»¸öÊǿͻ§¶Ë³ÌÐò(client),·þÎñÆ÷³ÌÐòÊǸø
¹¥»÷¶ÔÏóÓõÄ,ǧÍò²»¿ÉÓôíÁË----¸ø×Ô¼ºÖÖÂíµÄÈË......^0^

¿Í»§³ÌÐò²ÅÊǸø×Ô¼ºÓõÄ,ÓÚÊÇÎÒÃǾÍÓÃVB½¨Á¢Á½¸ö³ÌÐò,Ò»¸öΪ·þÎñÆ÷¶Ë³ÌÐò cockhorseserver,ÁíÒ»¸öΪ
¿Í»§¶Ë³ÌÐòcockhorseclient.

ÏÈÔÚcockhorseclient³ÌÐòÖн¨Á¢Ò»¸ö´°Ìå,¼ÓÔØÒ»¸öwinsock¿Ø¼þ,³ÆÎªtcpclient,ÔÙ¼ÓÉÏÁ½¸öÎı¾¿ò,ÓÃÀ´
ÊäÈë·þÎñÆ÷µÄIPµØÖ·ºÍ¶Ë¿ÚºÅ.ÁíÍ⻹Ҫ½¨Á¢Ò»¸ö°´Å¥,°´Ïºó¿ÉÒÔ¶ÔÁ¬½Ó½øÐгõʼ»¯.

´úÂëÎÒдÏÂ:

Private Sub Command1_Click()
'µ÷ÓÃconnect·½·¨,³õʼ»¯Á¬½Ó.
tcpclient.RemoteHost = ipinput.Text
tcpclient.RemotePort = Val(portinput.Text) 'ÕâÊǶ˿ںÅ,ĬÈÏΪ1001
tcpclient.Connect 'ºÍÖ¸¶¨µÄIPÏà¶ÔµÄ¼ÆËã»úÏàÁ¬½Ó
cmdconnect.Enabled = False
End Sub
(ÔÚÊÕµ½Êý¾ÝÖ®ºó,¾ÍÒª¶ÔÕâЩÊý¾Ý×ö³öÏàÓ¦µÄ´¦Àí,ʹÓÃdataarrivalʼþ,¿ÉÒÔ·½±ãÔËÔØÊý¾Ý½ø²Ù×÷.
Private Sub tcpclient_dataArrival(ByVal bytestotal As Long)
Dim strdata As String
tcpclient.GetData strdata
If strdata = "test connect" Then
  tcpstate.Text = "connect OK" + vbNewLine + LocalIP Is ":" + -tcpclient.LocalIP + "computer name is¡¡:¡¡" + tcpclient.LocalHostName
  tcpstate.Text = tcpstate.Text + vbNewLine + "remote ip is :" + -tcpclient.RemoteHostIP + "computer name is : " + tcpclient.remotehostname
  If InStr(Trim(strdata), "clos


Ïà¹ØÎÊ´ð£º

¹ØÓÚASP.net(vb)²¥·Å¼à¿ØÂ¼ÏñµÄÎÊÌâ

ÎÒÓг§¼Ò×öµÄASPµÄ¼à¿ØÂ¼Ïñ£¨DVR£©µÄ¾ÖÓòÍø²¥·ÅµÄÔ´³ÌÐòÓë¿Ø¼þ£¬ÏëÒªÓÃASP.net×öÒ»¸öÊÓÆµ»Ø·ÅµÄ³ÌÐò£¨ÀûÓÃËûµÄ¿Ø¼þ£©µ«²»ÖªÈçÏÂÈ¥×ö£¬Íû¸÷λָµã¡£
ÏȸãÇå³þËûÃǵĿؼþÊÇÔõôÓõÄ,
È»ºó¾ÍÖ±½ÓÓúÃÁË.
²»¹ý,Èç ......

vbдµÄ³ÌÐò±àÒëºó,ÔËÐÐÈô³ö´í,ÈçºÎÖªµÀµ½ÔÚÄÄÒ»ÐÐ?

vbдµÄ³ÌÐò±àÒëºó,ÔËÐÐÈô³ö´í,ÈçºÎÖªµÀµ½ÔÚÄÄÒ»ÐÐ?

°´Ctrl+F5Ô¤±àÒ룬³ö´íʱ»áÌø×ªµ½´íÎóÐÐ

²»ÊÇÄÇÑùµÄÁË,ÎÒÊÇÒªÇó±àÒë³ÉEXEºóÔËÐÐ,Ìáʾ³ö´íÄÜ·ñÌáʾ´íÔÚÄÄÒ»ÐÐ.

ÎÒ±àÒëºóÔÚÎҵĵçÄÔÉÏÔËÐÐûÎÊÌâ,µ«Ô ......

VB ÍøÒ³×Ô¶¯µÇ½

Option Explicit

Private Sub Command1_Click()
    WebBrowser1.Navigate "http://mc.qeedoo.com/servers.php"
End Sub

Private Sub WebBrowser1_DocumentComplete(ByVal ......

VBµ÷ÓÃUsb7kC.dll

¸÷λ°ïæ¿´¿´
VBµ÷ÓÃUsb7kC.dll

³ÌÐòÊÇÒ»¸ö×ÀÇò·»µÄÓÃÓÚ¿ØÖÆÌ¨×ÀµÄ¿ª¹ØµÆ
Ô­ÏÈÓõÄÊÇPCµÆ¿Ø¿¨£¬ÏÖÔÚÔö¼ÓÁËÒ»¸öUSBµÄ¿ØÖÆ¿¨

´Ó33ºÅÒÔºó¾ÍÊÇUSB¿¨¿ØÖƵģ¬ÏàÓ¦µÄ33×À¶ÔÓ¦µÄÊÇUSB¿ØÖÆ¿¨µÄ1ºÅÏß· ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ