|Protocol\Packet question, (for C, C++ on Linux)
||[Jul. 15th, 2002|08:00 am]
LiveJournal Client Discussions
|||||Drowning Pool - Tear Away||]|
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....