FTP CHAT! Timer lags
If you need help with a project or need to know how to do something specific in VB.NET then please ask your questions in here.
Forum rules
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
3 posts
Page 1 of 1
Hello I've recently created an ftp chat for a group of moderators, It works perfectly fine however the timer1 that downloads the chat.txt, It lags the form is there anyway I could make the chat not lag. I've tried multi-threading I've failed at that. I will gladly upload the source if you would like. Is there anyway I could remove the lag?
Since every few seconds, the chat program has to contact the ftp server, then download the file, a lag is created. However, using an ftp chat, I do not think you can make a better way of updating your program, at it will always need to contact a server.
You can make the application more responsive by handling the data transfers in a different thread.
Though FTP is not designed for real time chat.
Though FTP is not designed for real time chat.
3 posts
Page 1 of 1
Copyright Information
Copyright © Codenstuff.com 2020 - 2023