Thread: CSocket Problem

  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,793
    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,981
    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,981

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, 04: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, 08:38 AM
  4. A question related to strcmp
    By meili100 in forum C++ Programming
    Replies: 6
    Last Post: 07-07-2007, 02:51 PM
  5. WS_POPUP, continuation of old problem
    By blurrymadness in forum Windows Programming
    Replies: 1
    Last Post: 04-20-2007, 06:54 PM