Thread: vpn lib

  1. #1
    Registered User
    Join Date
    Dec 2005
    Posts
    141

    vpn lib

    Hi,

    I want to build a wrapper around a C++ library which exposes vpn connection functionalities.
    Could anyone please let me know of any url where I can find such a lib?

    Appreciate your guidance,
    Angkar

  2. #2
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Ireland
    Posts
    8,446
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  3. #3
    Registered User
    Join Date
    Dec 2005
    Posts
    141

    I wanted something more specific ... I googled but in vain

  4. #4
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Ireland
    Posts
    8,446
    VPN is a tunelling protocol implemented through TCP/IP. I'm not sure if there are any libraries that specific. But even if they are, they must implement some sort of TCP/IP wrapper since standard C++ does not come with it. It thus makes a VPN specific library someting strange to see, since it wouldn't make sense to encapsulate everything but that specific protocol.

    However, if there are any, someone else in here will surely be able to help

    What I do suggest though is to grab a good sockets library and implement your own VPN code. You'll learn sockets implementation in the process and thank yourself later. There's certainly tutorials on this
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  5. #5
    Registered User
    Join Date
    Dec 2005
    Posts
    141
    Thats a great direction Mario.
    Actually I'm new to networks stuffs and so that if I find one ready-made lib it will be easy to just build a wrapper around.
    But as you say it may take me a few more days but I'll surely learn a lot.
    Could you please let me know of any good url on how to take the next step i.e. sockets to vpn?

  6. #6
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,895
    What system are you talking about (Windows, Linux, ...), and what do you want to achieve, anyway?

    Just for using a VPN connection, you can use standard networking. It's completely transparent to the application.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  7. #7
    Registered User
    Join Date
    Dec 2005
    Posts
    141
    I want to implement a Connect and a Disconnect Function in VPN and the client m.c is Win Xp.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Configuring VPN
    By ssharish2005 in forum Tech Board
    Replies: 5
    Last Post: 12-26-2006, 11:57 PM
  2. using VC6 link VC7 static lib error
    By George2 in forum C++ Programming
    Replies: 5
    Last Post: 06-29-2006, 10:58 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