Thread: How would you

Results 1 to 5 of 5
  1. #1
    Geometrical's Avatar
    Join Date
    Jul 2012
    Gender
    male
    Location
    In the middle of nowhere.
    Posts
    1,034
    Reputation
    331
    Thanks
    10,335
    My Mood
    Chatty

    How would you

    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

  2. #2
    Biesi's Avatar
    Join Date
    Dec 2011
    Gender
    male
    Posts
    4,993
    Reputation
    374
    Thanks
    8,808
    My Mood
    Twisted
    TcpClient Class
    Socket Class

    You can google for examples..

  3. The Following User Says Thank You to Biesi For This Useful Post:

    Yemiez (01-28-2016)

  4. #3
    Mayion's Avatar
    Join Date
    Oct 2012
    Gender
    male
    Location
    Bed
    Posts
    13,504
    Reputation
    4018
    Thanks
    8,372
    My Mood
    Twisted
    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.










     

    Donator - 30 August 2013
    Battlefield Minion - 26 October 2013

    Blackshot Minion - 14 January 2014/16 September 2014
    Minecraft Minion - 7 February 2014/16 September 2014
    WarRock Minion - 23 February 2014
    League of Legends Minion - 21 March 2014

    Minion+ - 15 May 2014
    Other Semi-Popular First Person Shooter Minion - 8 August 2014
    CrossFire Minion - 23 October 2014
    Programming Section Minion - 13 November 2014
    Marketplace Minion - 7 December 2014

    Official Middleman - 7 December 2014 - 27 June 2015
    Moderator - 29 December 2014
    Project Blackout Minion - 10 January 2015
    News Force Interviewer - January 2015
    Steam Games Minion - 21 March 2015
    Dragon Nest Minion - 31 March 2015
    Publicist - April 2015 - 21 September 2015
    Global Moderator - 25 August 2015
    Super User - 13 August 2016



  5. The Following 2 Users Say Thank You to Mayion For This Useful Post:

    RoPMadM (02-06-2016),Yemiez (01-30-2016)

  6. #4
    ♪~ ᕕ(ᐛ)ᕗ's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    Uterus
    Posts
    9,119
    Reputation
    1096
    Thanks
    1,970
    My Mood
    Doh
    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

  7. #5
    Geometrical's Avatar
    Join Date
    Jul 2012
    Gender
    male
    Location
    In the middle of nowhere.
    Posts
    1,034
    Reputation
    331
    Thanks
    10,335
    My Mood
    Chatty
    @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.

Similar Threads

  1. How would you get to the cake?
    By apezwijn in forum General
    Replies: 23
    Last Post: 12-17-2009, 02:09 AM
  2. How would you Inject Rez files with Multiple Folders in them?
    By CoderNever in forum Combat Arms Mod Discussion
    Replies: 3
    Last Post: 12-08-2009, 10:00 PM
  3. how would you..
    By Sjoerd in forum General
    Replies: 19
    Last Post: 10-19-2009, 12:25 AM
  4. How would you like to see the New GFX section be?
    By arunforce in forum Art & Graphic Design
    Replies: 57
    Last Post: 07-20-2009, 08:06 PM
  5. How Would you like to die?
    By GOD in forum General
    Replies: 19
    Last Post: 06-09-2009, 05:25 PM