Thread: Looking for communication lib

  1. #1
    Registered User
    Join Date
    Oct 2003
    Posts
    106

    Looking for communication lib

    Hello, I developed with C a simple communication program between my Palm and a PC application running as server. I use simple AT commands to call the PC's modem and to establish a communication channel. Then I use a protocol I invented to login and exchange data with the server.

    Basically, this protocol is layered in subprotocols: a protocol to format packets of data with error check data ( a simple checksum ) is the lower protocol, while higher protocols exchange files and implement server autentication.

    My question is: can I do the same thing ( point to point communication using modems ) by using an existent communication library? Does such a library exist? Can anyone give me a hint on a simple and robust communication library to use to implement a server waiting for a client call?

    Thank you all for the help,
    BrownB
    Last edited by BrownB; 04-26-2005 at 09:52 AM.

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,660
    My guess would be to look round here first.
    http://www.palmsource.com/
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    Registered User
    Join Date
    Oct 2003
    Posts
    106
    Thank you for the suggestion, but I need of an "abstract" communication library, so that I can use it to build a Client on a PalmOS system and a Server on a WinXP server.

    Also, I'd like more to have an opensource library, so that I can study it and if possible personalize it.

    My little lib works, but it's too simple to make a secure connection. I can ecnrypt data, I implemented also this service, but I'd like to get a "professional" comm. library, which should be more secure, more efficient and more stable.

    Thank you for any suggestion by your experience,
    BrownB

  4. #4
    .
    Join Date
    Nov 2003
    Posts
    307
    The PPP protocol is supported by kernel routines in Linux, for example.

    Here is an overview of what the 2.4 Linux kernel does with PPP:

    http://www.baty.hanse.de/linux-x25/s...ess/node3.html

    Get kernel source for Linux (part of every distro) and start digging. I do not know of a standalone PPP library, except for TeleSoft's source code library - but it is licensed.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. using VC6 link VC7 static lib error
    By George2 in forum C++ Programming
    Replies: 5
    Last Post: 06-29-2006, 10:58 PM
  2. Including lib in a lib
    By bibiteinfo in forum C++ Programming
    Replies: 0
    Last Post: 02-07-2006, 02:28 PM
  3. Convert Microsoft LIB to MingW compatible lib
    By tigs in forum Windows Programming
    Replies: 0
    Last Post: 07-20-2004, 06:53 PM
  4. Making a LIB file from a DEF file for a DLL
    By JMPACS in forum C++ Programming
    Replies: 0
    Last Post: 08-02-2003, 08:19 PM
  5. help me using lib from Visual C++ 6
    By oskilian in forum Windows Programming
    Replies: 3
    Last Post: 10-11-2001, 11:28 AM