vpn lib

This is a discussion on vpn lib within the C++ Programming forums, part of the General Programming Boards category; Hi, I want to build a wrapper around a C++ library which exposes vpn connection functionalities. Could anyone please let ...

  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
    Portugal
    Posts
    7,412
    The programmer’s wife tells him: “Run to the store and pick up a loaf of bread. If they have eggs, get a dozen.”
    The programmer comes home with 12 loaves of bread.


    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
    Portugal
    Posts
    7,412
    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
    The programmer’s wife tells him: “Run to the store and pick up a loaf of bread. If they have eggs, get a dozen.”
    The programmer comes home with 12 loaves of bread.


    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,893
    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, 10: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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21