| |

VerySource

 Forgot password?
 Register
Search
View: 855|Reply: 4

Can Web ActiveX not accept UDP packets?

[Copy link]

1

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-3-3 16:30:01
| Show all posts |Read mode
I set up a chat program, running QQSerrver.exe on the server side and using QQClient on the client side, everything works fine. I want to change the client to a browser mode and embed ActiveX. After starting the browser, why can't I accept the UDP data packets from the server?

Here are the web files:
<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>
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-8-21 10:15:01
| Show all posts
attention
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-8-21 10:45:01
| Show all posts
Do you want to register? attention
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-8-21 11:00:01
| Show all posts
Differences in message processing. In a timer, set the interval to 10 and write HandleMessage
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-8-21 15:45:01
| Show all posts
Haha
This procedure is okay on the local area network, but not on the public network. It is impossible to use the public network outside. It must be changed to another communication method, such as WEBSERVICE.
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list