| Posted: 01:51pm 22 Sep 2026 |
Copy link to clipboard |
 Print this post |
|
You have a TCP SERVER PORT defined but you are not handling requests in your program. At the command prompt the system will automatically send out 404 if it receives a request but in a program it expects you to do it. If you don't need the server, OPTION TCP SERVER PORT 0 and it will stop. Or add to your program:
WEB TCP INTERRUPT WebRequest ' 'b' tell the server who answers
Sub WebRequest ' 'c' answer, then close, every request Local Integer i For i = 1 To MM.Info(MAX CONNECTIONS) If MM.Info(TCP REQUEST i) Then WEB TCP READ i, buff() WEB TRANSMIT CODE i, 404 End If Next i End Sub Edited 2026-09-23 00:16 by matherp |