telnet

This is a discussion on telnet within the C++ Programming forums, part of the General Programming Boards category; in VC++, add wsock32.lib into the libraries...

  1. #16
    i want wookie cookies the Wookie's Avatar
    Join Date
    Oct 2002
    Posts
    455
    in VC++, add wsock32.lib into the libraries

  2. #17
    Registered User
    Join Date
    Feb 2002
    Posts
    40
    how do u add a library in visual c++ 6.0

  3. #18
    Registered User
    Join Date
    Feb 2002
    Posts
    40
    I dont get it. how do i add the library wsock32.lib. I know how to include headers but how do u include a .lib ?
    cause for compiling i get no error. its when i build i get:

    --------------------Configuration: popdel32 - Win32 Debug--------------------
    Linking...
    popdel32.obj : error LNK2001: unresolved external symbol _recv@16
    popdel32.obj : error LNK2001: unresolved external symbol _closesocket@4
    popdel32.obj : error LNK2001: unresolved external symbol _send@16
    popdel32.obj : error LNK2001: unresolved external symbol _connect@12
    popdel32.obj : error LNK2001: unresolved external symbol _socket@12
    popdel32.obj : error LNK2001: unresolved external symbol _htons@4
    popdel32.obj : error LNK2001: unresolved external symbol _gethostbyname@4
    popdel32.obj : error LNK2001: unresolved external symbol _WSAStartup@8
    Debug/popdel32.exe : fatal error LNK1120: 8 unresolved externals
    Error executing link.exe.

    popdel32.exe - 9 error(s), 0 warning(s)


    am i missing something for it to build properly in visual c++
    Last edited by MrJake; 11-13-2002 at 06:16 PM.

  4. #19
    Registered User
    Join Date
    Feb 2002
    Posts
    40
    ok i figured it out

    Wow it works hehe. cool

    Beaucoup thank you

Page 2 of 2 FirstFirst 12
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Help with telnet and tcp
    By hoAx in forum Windows Programming
    Replies: 11
    Last Post: 03-11-2008, 03:03 PM
  2. C Function Telnet Email
    By karcheee in forum C Programming
    Replies: 3
    Last Post: 07-25-2005, 12:39 PM
  3. C Execl Telnet
    By karcheee in forum C Programming
    Replies: 1
    Last Post: 04-26-2005, 03:31 PM
  4. telnet!!
    By bigB8210 in forum A Brief History of Cprogramming.com
    Replies: 1
    Last Post: 08-13-2003, 06:09 PM
  5. Most Secure (SSH) Telnet Client for Programming
    By kuphryn in forum A Brief History of Cprogramming.com
    Replies: 0
    Last Post: 02-14-2002, 08:49 PM

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