Results 1 to 16 of 16

Thread: [RESOLVED] Client and server

  1. #1

    Thread Starter
    Member
    Join Date
    Feb 2010
    Posts
    63

    Resolved [RESOLVED] Client and server

    can any one know how to make code for this i attach.
    Attached Images Attached Images  

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

  3. #3

    Thread Starter
    Member
    Join Date
    Feb 2010
    Posts
    63

    Re: Client and server

    i can't seen a example.

  4. #4
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: Client and server

    I am confused?!?

    What exactly are you trying to do?

    Authenticate a user name and password against a MySql Database Server, or first get some information from the MySql Database, and compare the user name a password of a row within a table?

    Gary

  5. #5

    Thread Starter
    Member
    Join Date
    Feb 2010
    Posts
    63

    Re: Client and server

    i want to make a server program that read userlogin.

  6. #6
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: Client and server

    I am sorry, but you really aren't making much sense?!?

    Gary

  7. #7

    Thread Starter
    Member
    Join Date
    Feb 2010
    Posts
    63

    Re: Client and server

    example of eathena login server, character server, and map server, only i dea that i want to code not the same as ragnarok server.

  8. #8
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: Client and server

    Am I supposed to know what that means? Because I don't!!

  9. #9

    Thread Starter
    Member
    Join Date
    Feb 2010
    Posts
    63

    Re: Client and server

    Sorry about late reply. our state has been typhoon.
    Attached Images Attached Images  

  10. #10
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: Client and server

    Hey,

    So what you are saying is, all you want to do is authenticate the username and password that the user types into the username and password textboxes, against the information stored in the database, correct?

    i.e.

    Code:
    select * from users where users.username = @username and users.password = @password
    Gary

  11. #11

    Thread Starter
    Member
    Join Date
    Feb 2010
    Posts
    63

    Re: Client and server

    yes like. that but the server will check for that. client only send password and username to server.

  12. #12
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: Client and server

    Are you saying to are wanting to put a web service, or something else onto the MySql Database Server, which your Windows Application can then talk to?

    Gary

  13. #13

    Thread Starter
    Member
    Join Date
    Feb 2010
    Posts
    63

    Re: Client and server

    Quote Originally Posted by gep13 View Post
    Are you saying to are wanting to put a web service, or something else onto the MySql Database Server, which your Windows Application can then talk to?

    Gary
    i think so.

    i have a project on collage school that need a server that connect many players.

  14. #14
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: Client and server

    I would suggest that you spend some time planning out exactly what it is that you are trying to achieve, as it sounds as though you don't have a solid plan about how you are going to proceed.

    If you are looking for a true Client/Server, then take a look in the Code Bank for a submission by jmcilhinney, it has a good example of how this can be achieved.

    Gary

  15. #15

    Thread Starter
    Member
    Join Date
    Feb 2010
    Posts
    63

    Re: Client and server

    maybe this idea is more understandable.
    Attached Images Attached Images  
    Last edited by solid2005; Jul 17th, 2010 at 11:19 AM.

  16. #16
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: [RESOLVED] Client and server

    Hey,

    What you have described there could either be a web service, or a true client/server set up.

    Do you have a preference about which one you take?

    If you want to create a web service, have a look here:

    http://www.15seconds.com/issue/010430.htm

    If you want a client/server set up, have a look here:

    http://www.vbforums.com/showthread.php?t=587341

    Gary

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width