Search found 637 matches
- Mon Apr 22, 2024 3:42 pm
- Forum: Coding Questions
- Topic: Would it be possible to make Socket UDP reliable by working side by side with TCP?
- Replies: 7
- Views: 375
Re: Would it be possible to make Socket UDP reliable by working side by side with TCP?
If no valid data is received (never [STX]text[ETX]) you can kick out the client. CloseNerkConnection great idea. Another question: has anyone tried doing the reliability steps in udp? *Checksum control*: Verify data integrity to prevent transmission errors. *Retransmission of lost packets*: If a pa...
- Fri Apr 19, 2024 1:56 pm
- Forum: Coding Questions
- Topic: Would it be possible to make Socket UDP reliable by working side by side with TCP?
- Replies: 7
- Views: 375
Re: Would it be possible to make Socket UDP reliable by working side by side with TCP?
You have programmed yourself a memory leak when rewriting thUDPServer. Client()\text is no longer corrected. In addition, you have removed the Repeat Until, which means that the data in the receive buffer can no longer be separated. There may be several sent data in the receive buffer that need to ...
- Thu Apr 18, 2024 4:21 am
- Forum: Coding Questions
- Topic: Would it be possible to make Socket UDP reliable by working side by side with TCP?
- Replies: 7
- Views: 375
Would it be possible to make Socket UDP reliable by working side by side with TCP?
Hi guys, Recently I was making a very simple 2d mmo game to play with the college students, I borrowed a VPS from digital ocean for a test period, and on the server I used Purebasic with TCP & UDP modules together ( following the ENet concept that uses TCP together with UDP to make the UDP conne...
- Tue Apr 16, 2024 2:38 pm
- Forum: Applications - Feedback and Discussion
- Topic: libDataChannelPB WebRTC library
- Replies: 20
- Views: 2279
Re: libDataChannelPB WebRTC library
What about a large number of simultaneous connections? for example, the reason I have a certain interest in udp socket is that in the future I want to take the risk of creating an mmo game. What I wanted was support to accept a considerable amount of connections (~500 to 1500) simultaneous connectio...
- Tue Apr 16, 2024 5:42 am
- Forum: Applications - Feedback and Discussion
- Topic: libDataChannelPB WebRTC library
- Replies: 20
- Views: 2279
Re: libDataChannelPB WebRTC library
something bothers me about libdatachannel, for example: on the udp server, the implementation is simple, practical and direct. similar to a TCP server however, with different behaviors... webrtc sounds very complex due to the STUN/TURN servers... there is little content explaining the real precept o...
- Tue Apr 16, 2024 5:37 am
- Forum: Tricks 'n' Tips
- Topic: atomic web server threads
- Replies: 75
- Views: 5015
Re: atomic web server threads
tomorrow i’ll test on mac
- Mon Apr 15, 2024 2:47 pm
- Forum: General Discussion
- Topic: PureBasic v6.10 is producing a file size 5 times bigger than v6.04
- Replies: 21
- Views: 1724
Re: PureBasic v6.10 is producing a file size 5 times bigger than v6.04
Why? I fully admit that one of the things that drew me to PB is it's small executables, but that really hasn't changed. Like I said above, go compare it to virtually any other tool, you'll find the only ones that are about equal with 6.10 are C/C++ with minimal libraries linked. Don't get me wrong,...
- Thu Apr 11, 2024 9:09 pm
- Forum: Tricks 'n' Tips
- Topic: atomic web server threads
- Replies: 75
- Views: 5015
Re: atomic web server threads
This is brilliant, excellent work.
- Wed Apr 10, 2024 7:05 pm
- Forum: Bugs - Documentation
- Topic: [Done] Where can I find the documentation for: New skeleton library?
- Replies: 3
- Views: 160
Re: Where can I find the documentation for: New skeleton library?
I saw it now,
this is incredible, I hope to evolve to the point where it is possible to clone bones from animated models and add them to other models.
Thanks
this is incredible, I hope to evolve to the point where it is possible to clone bones from animated models and add them to other models.
Thanks
- Wed Apr 10, 2024 4:31 pm
- Forum: Bugs - Documentation
- Topic: [Done] Where can I find the documentation for: New skeleton library?
- Replies: 3
- Views: 160
[Done] Where can I find the documentation for: New skeleton library?
on https://www.purebasic.fr/english/viewtopic.php?t=83140 there is a beta published by Fred that we have a skeleton lib addition to. 2024-03-13: beta 8 is out for testing ! It brings the following new features and bug fixes: Added: New skeleton library create custom skeleton to a mesh Added: ScaleEn...
- Sat Mar 23, 2024 5:13 am
- Forum: Applications - Feedback and Discussion
- Topic: Websocket Client
- Replies: 9
- Views: 9651
Re: Websocket Client
I'm trying to use this code to stress test a websocket server, but the client simply crashes without reporting any errors. screenshot : https://prnt.sc/9OhwqmUCwg7y Does anyone have any idea what could be happening? ; Websocketclient by Netzvamp ; Version: 2016/01/08 DeclareModule WebsocketClient De...
- Wed Mar 20, 2024 1:10 am
- Forum: Tricks 'n' Tips
- Topic: atomic web server threads
- Replies: 75
- Views: 5015
Re: atomic web server threads
Why did this happen?
https://prnt.sc/BJXLj_b-xL4Y
https://prnt.sc/BJXLj_b-xL4Y
- Mon Mar 18, 2024 7:14 pm
- Forum: Tricks 'n' Tips
- Topic: atomic web server threads
- Replies: 75
- Views: 5015
Re: atomic web server threads
I'm trying to add several servers to test, and only the last one created listens to the request, the other previous ones stop listening. In this case below: Atomic_Server_Init("My Atomic Webserver",80,"www/",@CBPost(),@CBGet()) Atomic_Server_Init("Webserver 2",81,"...
- Sun Mar 17, 2024 5:19 am
- Forum: Off Topic
- Topic: The US government asks not to use C/C++ due to memory vulnerabilities.
- Replies: 15
- Views: 1080
The US government asks not to use C/C++ due to memory vulnerabilities.
The US government asks not to use C/C++ due to memory vulnerabilities. What does this imply for the future of C/C++ and purebasic? sources : https://blog.stackademic.com/u-s-government-urges-developers-cease-using-c-c-ac74f8e6c46b https://www.tribuneindia.com/news/science-technology/us-national-secu...
- Sun Mar 17, 2024 2:17 am
- Forum: Mac OSX
- Topic: Is it possible to load a dylib exported by purebasic in xcode?
- Replies: 3
- Views: 432
Re: Is it possible to load a dylib exported by purebasic in xcode?
I wanted to use a dylib exported by purebasic in xcode in a C++ project.