Thread: Host/Server real time data transfer

  1. #1
    Registered User
    Join Date
    May 2011
    Posts
    5

    Host/Server real time data transfer

    Hello

    I need some help, I am a complete beginner with C++ and I am try to develop a program for the company I work for.

    What I need is two applications a host app and a server app.

    When loaded the host needs to search for all available servers and show a list to choose from. It will then need to send and receive data to and from the server in real time.

    When loaded the server needs to broadcast its location so the host app can locate it. It then needs to receive from the host app, process it and send it back in real time.

    I would like to have this run on both Windows 7 x32 and x64.

    I do not want someone to do all of this for me as I want to use this as a learning experience I just need some guidance. if possible I would like to use Skype or MSN to communicate.

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,660
    Useful Links And Good Books
    Start with the "beej" tutorial.
    Download wireshark to help you with debugging.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    Registered User
    Join Date
    May 2011
    Posts
    5
    The BeeJ tutorial says internet sockets woulds they be the same for Lan/Wifi?

  4. #4
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,660
    If it's got an IP address, it's all the same.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  5. #5
    Registered User
    Join Date
    May 2011
    Posts
    5
    thanks, I will check it out.

    Would you be able to help me out with this? Like I said I am a complete beginner and this is a rather difficult task.

  6. #6
    Registered User
    Join Date
    Dec 2007
    Posts
    2,675
    Why don't you ask someone at the company to help you out? Or did you misrepresent yourself to the company as an actual, skilled programmer?

  7. #7
    Registered User
    Join Date
    May 2011
    Posts
    5
    No programmers here, and no I did not misrepresent myself.

  8. #8
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,660
    OK, now I'm confused.
    There are no other programmers, and you're "a complete beginner with C++".

    So someone made a hiring decision to get a programmer, and they got you (a beginner).
    What skill do you actually have? Do you know how to program in other languages perhaps? (other languages could do this, it isn't a special property of C/C++ to be able to do this).

    And no, I'm not going to be doing a lot of work on this - that's YOUR job, you're being paid to do it.
    We offer help and advice along the way, but you're the one who's going to be doing most of the work.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  9. #9
    Registered User
    Join Date
    May 2011
    Posts
    5
    No i was not hired to do this, this is just a project that I want to do. I am not asking anyone to do the work for me, I just need guidance.

  10. #10
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,660
    OK, so read Beej, and get to the point where you have a simple client/server that can ping each other.

    But for the first 3 to 6 months, I would suggest you focus on finding some good books on C++ (since you're a beginner).
    http://rudbek.com/books.html
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Client-server application for hybrid file transfer
    By ejjjjj in forum C Programming
    Replies: 6
    Last Post: 05-16-2010, 02:27 PM
  2. How to transfer data structures over net ?
    By jabka in forum C Programming
    Replies: 5
    Last Post: 04-12-2009, 11:46 AM
  3. Need to host a web server for hw assignment
    By indigo0086 in forum Tech Board
    Replies: 7
    Last Post: 04-15-2007, 11:57 AM
  4. C#: Server.Execute() and Server.Transfer()
    By Grayson_Peddie in forum Networking/Device Communication
    Replies: 3
    Last Post: 09-24-2003, 06:50 PM
  5. data transfer
    By Blaster in forum Linux Programming
    Replies: 4
    Last Post: 03-12-2003, 08:10 AM

Tags for this Thread