| Welcome, Guest |
You have to register before you can post on our site.
|
| Forum Statistics |
» Members: 96,902
» Latest member: s88vip3
» Forum threads: 2,426
» Forum posts: 11,370
Full Statistics
|
| Online Users |
There are currently 1186 online users. » 3 Member(s) | 1180 Guest(s) Applebot, Bing, Google, s88vip3, tk88uscom, xoilaczbg
|
| Latest Threads |
WebApplication.IP change ...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
Yesterday, 03:02 AM
» Replies: 0
» Views: 53
|
Hook/callback to handle t...
Forum: IntraWeb General Discussion
Last Post: Lenfors
09-08-2026, 09:03 AM
» Replies: 0
» Views: 50
|
Reproducible IIS crash in...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
09-08-2026, 01:48 AM
» Replies: 0
» Views: 70
|
The packages IW16.xx inc...
Forum: IntraWeb General Discussion
Last Post: hsbelli
09-03-2026, 11:46 AM
» Replies: 2
» Views: 326
|
Redirection issues with F...
Forum: IntraWeb General Discussion
Last Post: magosk
08-31-2026, 10:03 AM
» Replies: 0
» Views: 162
|
Source Code
Forum: IntraWeb General Discussion
Last Post: magosk
08-31-2026, 08:11 AM
» Replies: 3
» Views: 515
|
TContenthandler requires ...
Forum: IntraWeb General Discussion
Last Post: valmeras
08-30-2026, 02:35 AM
» Replies: 0
» Views: 157
|
TIWjQDBGrid erratic behav...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
08-20-2026, 05:12 PM
» Replies: 8
» Views: 2,046
|
Change Language DataTable
Forum: IntraWeb General Discussion
Last Post: Rigoberto Mercedes
08-19-2026, 03:21 PM
» Replies: 1
» Views: 297
|
How to terminate HTTP Thr...
Forum: Indy
Last Post: rlebeau
08-14-2026, 08:01 AM
» Replies: 5
» Views: 851
|
|
|
| Simply convert PeerIp to IpV4 |
|
Posted by: DidierMenant - 07-30-2026, 09:50 AM - Forum: Indy
- Replies (2)
|
 |
Hello,
in indy 10
I simply want to convert the format
AThread.Binding.PeerIP = '0:0:0:0:0:0:0:1'
into an IPv4 address (xxx.xxx.xxx.xxx).
I assume there is an existing function that I'm just not finding ?
|
|
|
| Datatables question |
|
Posted by: Vitrescent - 07-27-2026, 03:43 AM - Forum: IntraWeb General Discussion
- Replies (2)
|
 |
Hello. I have rawtext (IWLabel.Caption) for my json data.
Code: '{ "data": [ .... ] }'
I want this rawtext include in define of datatables (HTML template).
Code: WebApplication.CallBackResponse.AddJavaScriptToExecuteAsCDATA('$(''#examples'').DataTable( { "ajax": ' + rawtext + ',} );');
How?
|
|
|
| OpenSSL and concurrent read/write |
|
Posted by: kbriggs - 07-04-2026, 12:35 AM - Forum: Indy
- Replies (5)
|
 |
I've got a client/server gaming app where I use an Indy TCPServer component (ver 10.6.3.4) for my packet exchange system via websocket. I've hand-coded my own websocket protocol since it's not native to Indy. Currently my OnExecute loop calls a function that sends any outbound packets that are ready in a queue and then reads the next inbound packet like this:
Code: // loop here to send any ready outgoing packets
// now check for incoming packet
if IO.InputBufferIsEmpty and not(IO.CheckForDataOnSource) then Exit;
Opcode := IO.ReadByte; // start of packet
At the bottom of my OnExecute is a Sleep(10) command to keep the CPU from spinning to 100%.
All this has worked fine for many years now but there is a limit to how many connections (a few hundred) this system can support. I'm having Claude Code look at this and it's telling me the Sleep command is the main bottleneck as the system will eventually spend most of its time thread switching rather than running the game. It initially suggested using a blocking read command with a timeout (allowing me to delete the Sleep) and then moving the outgoing packet writes to a separate worker thread. That all sounded good until we got into the details and now it's telling me "OpenSSL isn't safe for truly concurrent SSL read / SSL write on the same connection without locking". So is this true? Will I have to implement critical sections or MREW locks to prevent any chance of a simultaneous read/write? Putting a lock around the blocking read is highly problematic since it may stay for awhile and that kind of defeats the efficiency improvement I'm trying to make. By the way, I know my Indy install is nearly 2 years out of date. Updating is on my to-do list.
|
|
|
| CSS file not reloading after change |
|
Posted by: Gustave - 06-30-2026, 09:00 PM - Forum: IntraWeb General Discussion
- Replies (3)
|
 |
I am using Delphi 13 with version 16.2.1 and entering a CSS file name in the content files string list. When I modify my CSS file and restart the program, it looks like the CSS file is not reloaded as it still has all my old code. I have to rename my file and re-enter the name in order for the changes to take effect.
Also a general FYI- TMS has discontinued their support for their Intraweb controls as of Delphi 12. This is the reason I had to add some CSS files with a small amount of code in them to do the same things using the standard Intraweb controls- removed their check list boxes and grids mostly.
|
|
|
|