|
本人搞了一个聊天程序,服务器端运行QQSerrver.exe,客户端用QQClient,一切正常.本人想把客户端改为浏览器方式,嵌入ActiveX,启动浏览器后,为何不能接受服务器端发来的UDP数据包?
以下是网页文件:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>New Page 1</title>
</head>
<body>
<p>
<object classid="clsid:085F13C4-9F70-449A-BD9C-19794A7670C8" id="ActiveFormX1" width="696" height="480">
<param name="Visible" value="0">
<param name="AutoScroll" value="0">
<param name="AutoSize" value="0">
<param name="AxBorderStyle" value="1">
<param name="Caption" value="ActiveFormX">
<param name="Color" value="4278190095">
<param name="Font" value="宋体">
<param name="KeyPreview" value="0">
<param name="PixelsPerInch" value="96">
<param name="PrintScale" value="1">
<param name="Scaled" value="-1">
<param name="DropTarget" value="0">
<param name="HelpFile" value>
<param name="ScreenSnap" value="0">
<param name="SnapBuffer" value="10">
<param name="DoubleBuffered" value="0">
<param name="Enabled" value="-1">
</object>
</p>
</body>
</html>
|
|