Results 1 to 6 of 6

Thread: Is LAN required to run winsock control....( Please folks help me out )

  1. #1

    Thread Starter
    Addicted Member arunb's Avatar
    Join Date
    Jul 2005
    Posts
    131

    Unhappy Is LAN required to run winsock control....( Please folks help me out )

    Hi,

    I am using winsock control to exchange data between two VB applications , both running on the SAME PC. The protocol used is UDP, with IP address as 127.0.0.1 etc.

    The programs are working well and I am able to exchange data .

    My question is do I really need a LAN card to exchange data between two applications running on the SAME PC.

    This question is very important for my applications , otherwise I will have to use DDE or some such method for data exchange.


    thanks
    arunb

    Note : My computer has a LAN card attached to it.
    Last edited by arunb; Jul 13th, 2005 at 12:47 AM. Reason: To get a better response

  2. #2
    New Member
    Join Date
    Mar 2004
    Posts
    13

    Re: Is LAN required to run winsock control....( Please folks help me out )

    no, you do not have to have a lan card to use winsock

  3. #3

    Thread Starter
    Addicted Member arunb's Avatar
    Join Date
    Jul 2005
    Posts
    131

    Re: Is LAN required to run winsock control....( Please folks help me out )

    Hi,

    OS: Windows 98/Windows XP
    Dev. : Microsoft Visual Basic 6.0

    Thank you very much for the reply. I tested a simple client-server applications in VB on a computer (running on Windows 98) that did not have a modem or a LAN card and I got the error

    Runtime Error 10047: Address Family not supported
    The appplication just terminated after this message...


    kindly advise what is wrong...

    thanks
    arunb

  4. #4
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: Is LAN required to run winsock control....( Please folks help me out )

    Install a Generic Modem on your serial port, even if you don't have one.
    This will load TCP/IP and the bindings necessary for your app to run.

    btw - don't use the com port that the mouse may be using.

  5. #5

    Thread Starter
    Addicted Member arunb's Avatar
    Join Date
    Jul 2005
    Posts
    131

    Re: Is LAN required to run winsock control....( Please folks help me out )

    Hi,

    I could do that but I need the spare serial port as well. Is there any way in which the Generic modem may be installed in the PCI bus ??

    thanks
    arun

  6. #6
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: Is LAN required to run winsock control....( Please folks help me out )

    Nope, then it'd have to talk to the hardware.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width