TcpClient Class
Socket Class
You can google for examples..
How would you go on about making a server-client application?
Basically I want to post some data on the server application and it must be visible on the client applications.
The data can be text, images, videos, or a combination of these.
The data should be editable by the administrator of the server application but only readable by the client applications.
I've never worked with such a thing before so I require some guidance
TcpClient Class
Socket Class
You can google for examples..
Yemiez (01-28-2016)
Just to clear stuff up;
Search on Google for server/client code. They are both pretty simple to work with.
Your server is recommended to be a CLI (You only need the output), and the clients are normal windows form.
- Just so you don't get confused, you must remember that the data sent/received is raw, meaning when an image is processed, you have to work with it as a piece of code/string, and after the client receives the image data, the client will handle the appearance of the image.
- I recommend having a PHP Panel if you have the ability to (I haven't tried it myself, but it will allow you to easily as an administrator, to add/remove data).
Since I have little to no idea about your project, or how will it handle data, could I get more information?
Is it a news application, a blog-kind of thing, or just demonstrating to start a small game server.
I do not use any type of messenger outside of MPGH.
Inactive but you can reach me through VM/PM.
I can help you along ! I've been coding servers and clients for some time now and the task that you want to do is pretty simple tbh... There's no need for fancy things as you are going to post different types of data then you might as well avoid chunked-packets and work directly with HTTP, or heck if you wish you can stick with TCP and do your thang. I would recommend either one of those twos.
Message me on Skype if you wanna consult:
elio.decolli
@Mayion sorry for the late response I'm not really the MPGH regular. The application is a news application. It will have a main list which will display the titles of all the posted articles and clicking on them will show the entire article. The posted articles will consist of formatted text and can also contain images and videos. This is the least of what I'm trying to implement.
After the core mechanics of the application are in place I will think about implementing a registration system where users can sign up and log in into the application. Users would be able to comment on the articles and vote the article.
You would ask why I haven't created a website which would be much more appropriate for this sort of thing. It's because I do not know the web languages and I want to achieve my goal with the knowledge at hand.