Search found 216 matches

by zaxos
Wed Apr 24, 2019 10:28 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Socket connections limit.
Replies: 6
Views: 180

Re: Socket connections limit.

"livecode/engine/src/opensslsocket.cpp" if (fd != 0) { int l = 0; if (secure) l = READ_SOCKET_SIZE * 16; else { unsigned long t_available; MCS_socket_ioctl(fd, FIONREAD, t_available); l = t_available; if (l == 0) l++; // don't read 0 } uint4 newsize = nread + l; if (newsize > rsize) { newsize += REA...
by zaxos
Wed Apr 24, 2019 5:32 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Socket connections limit.
Replies: 6
Views: 180

Re: Socket connections limit.

Yeah I have added a callback method to all socket operations, open sockets, read from sockets and eventually write to socket (even though I don't really use this one but as it turned out write to socket was blocking also).
by zaxos
Tue Apr 23, 2019 7:51 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Socket connections limit.
Replies: 6
Views: 180

Re: Socket connections limit.

16 GB ram 8 core Xeon processors , windows server 2012. I don't think it's a hardware issue, ram usage rarely gets beyond 300mb of the standalone and CPU usage is around 10% untill it reaches the limit ( 4000 ~ sockets ) at that point it goes at 30% for some time and then crashes. Also I don't think...
by zaxos
Tue Apr 23, 2019 5:48 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Socket connections limit.
Replies: 6
Views: 180

Socket connections limit.

Hello everyone. I'm running a cloud-server which handles thousands of TCP socket connections but it seems to just die when socket connections goe's beyond 4000 ~. For now, I'm splitting the work by creating multiple workers that handle 1000 connections each and each of them connects to the main serv...
by zaxos
Thu Mar 14, 2019 5:32 pm
Forum: Extending LiveCode
Topic: Livecode builder Foreign Function Interface question.
Replies: 2
Views: 274

Livecode builder Foreign Function Interface question.

Hello everyone! I want to wrap: https://twapi.magicsplat.com/ in livecode builder but I'm having trouble understanding the binding part. For example private foreign handler win_sparkle_init() \ returns nothing binds to "c:winsparkle>win_sparkle_init!cdecl" in this code (taken from levurehelper-app_u...
by zaxos
Wed Oct 24, 2018 1:08 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Icon not appearing in taskbar
Replies: 12
Views: 860

Re: Icon not appearing in taskbar

You probably have the decorations of the window to empty. if I judge correctly from the image then you have a full-screen application, then just set the decorations to "title" only. It doesn't matter, the title won't be visible if the app is full screen. set the decorations of this stack to "title" ...
by zaxos
Wed May 02, 2018 4:38 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Animationd & Windowshape
Replies: 2
Views: 584

Re: Animationd & Windowshape

Animations are handmade!
by zaxos
Wed May 02, 2018 4:08 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Animationd & Windowshape
Replies: 2
Views: 584

Re: Animationd & Windowshape

Tha reminded me of an app I made back then for my gf... good stuff!
Certainly works better on LC 9 than it was in 6.11.

https://www.youtube.com/watch?v=1J5dNm3 ... tu.be&hd=1

EDIT: I know its hard to see but he drops a heart <3!
by zaxos
Wed May 02, 2018 12:10 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Socket not working/connecting on another computer
Replies: 15
Views: 1242

Re: Socket not working/connecting on another computer

Hi agraham147. The attached stack will search your network and will try to connect to any socket that accepts connection on that port. I would suggest that you use a different port than 8080 since it is a very common port and it's being used by many programs. Other than that you can get the ip of yo...
by zaxos
Sat Oct 08, 2016 12:00 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: making checkboxes and radio buttons bigger
Replies: 12
Views: 2494

Re: making checkboxes and radio buttons bigger

Just in case you want to use custom made checkboxes.
by zaxos
Sat Oct 08, 2016 11:45 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Open process
Replies: 6
Views: 1208

Re: Open process

try: local tProcess on startProcess put "/usr/bin/ffmpeg -i SampleVideo_1280x720_5mb.mp4 -c:v libx265 -preset medium -x265-params crf=28 -c:a aac -strict experimental -b:a 128k filesupercompresso.MP4" into tProcess open process tProcess for read readProcess end startProcess on readProcess read from ...
by zaxos
Mon May 16, 2016 8:11 pm
Forum: LiveCode Builder
Topic: URL
Replies: 1
Views: 1032

URL

Hello, simple question, can i work with URLs in livecode builder? for example put "http://google.com" into myVar"

EDIT: Or any other way to work with a web API?
by zaxos
Mon May 16, 2016 7:15 pm
Forum: Talking LiveCode
Topic: Livecode builder.
Replies: 1
Views: 567

Livecode builder.

I feel so stupid when it comes to Livecode builder. Is there any tutorial on how to build a library?
by zaxos
Fri May 13, 2016 9:56 am
Forum: Talking LiveCode
Topic: LC8. Ugh, on the surface
Replies: 32
Views: 4121

Re: LC8. Ugh, on the surface

Omg, this is like you copy paste my thoughts! Kevin's mails have convinced me to try ( for the fifth time ) the new LC 8 platform. The fact that i gave up to it for so many times has to mean something, it may be x10 better in the core but the interface is just not as inspiring as it used to be and t...
by zaxos
Sun Apr 24, 2016 12:15 pm
Forum: Databases
Topic: revdberr,Lost connection to MySQL server during query
Replies: 11
Views: 3723

Re: revdberr,Lost connection to MySQL server during query

Create a stored routine in the database and run that instead. All the processing will happend in the DB instead of Livecode

Go to advanced search