Frank (franknbeans) wrote in lj_clients,
Frank
franknbeans
lj_clients

  • Mood:
  • Music:

Protocol\Packet question, (for C, C++ on Linux)

Hello all i'm trying to get this protocol thing down, but have a question i can't seem to asnwere. It deals with using different modes, and when using different ones is the returned packet structure the same across the board ? (minus some specific values valid to say, "login", or "getfriends"). I've been trying to use the "getfriends" mode with no luck. I've tried : sprintf(getfriends,"(all other info included, as well as size\length) mode=getfriends&name=%s&password=%s", ljName, ljPass); then just sending it to the already open connection. But /if/ i get a response it's not the one described in the "Modes" docs. I'm using C, but C++ code is just fine if you can help. Thanks in advance.. ....Frank M....
Subscribe
  • Post a new comment

    Error

    Comments allowed for members only

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

  • 6 comments