CSocket Problem

This is a discussion on CSocket Problem within the Windows Programming forums, part of the Platform Specific Boards category; I've been trying to create a Client application that will connect to a server thru CSocket class... but i'm having ...

  1. #1
    Registered User
    Join Date
    Aug 2001
    Posts
    47

    CSocket Problem

    I've been trying to create a Client application that will connect to a server thru CSocket class... but i'm having problems on authenticating the connection.

    I've downloaded several source code projects from the net, but none of them needed authentication (User name & Password )... most of them are simple Client / Server applications that only ask IP adress and port... can anyone explain me how to perform the authentication process betwen both... how do I get the message in my Client Application asking me for the user name (This would be a TCP application).

    Thanks
    I'm a person with a simple taste...
    I only like the best.

  2. #2
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,789
    Surely it depends on the protocol...

    For example authentication for SMTP is different from POP3 and the same again for FTP.

  3. #3
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,701
    Do you want to tap into NT/Domain authentication?

    gg

  4. #4
    Registered User
    Join Date
    Nov 2001
    Posts
    1,348
    One solution is via SSL.

    Kuphryn

  5. #5
    Registered User
    Join Date
    Aug 2001
    Posts
    47
    Sorry for the incomplete information... the authentication protocol should be FTP. Can anyone pinpoint me how to do it ??? or redirect me to some source code that can help me understand how to do it ???

    thanks..
    I'm a person with a simple taste...
    I only like the best.

  6. #6
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,701

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Need help understanding a problem
    By dnguyen1022 in forum C++ Programming
    Replies: 2
    Last Post: 04-29-2009, 05:21 PM
  2. Memory problem with Borland C 3.1
    By AZ1699 in forum C Programming
    Replies: 16
    Last Post: 11-16-2007, 11:22 AM
  3. Someone having same problem with Code Block?
    By ofayto in forum C++ Programming
    Replies: 1
    Last Post: 07-12-2007, 09:38 AM
  4. A question related to strcmp
    By meili100 in forum C++ Programming
    Replies: 6
    Last Post: 07-07-2007, 03:51 PM
  5. WS_POPUP, continuation of old problem
    By blurrymadness in forum Windows Programming
    Replies: 1
    Last Post: 04-20-2007, 07:54 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21