about networking program

This is a discussion on about networking program within the Networking/Device Communication forums, part of the General Programming Boards category; using dev4, what is the easiest way to send some characters to the same program opend in another ip address?...

  1. #1
    Registered User
    Join Date
    Apr 2006
    Posts
    25

    about networking program

    using dev4, what is the easiest way to send some characters to the same program opend in another ip address?

  2. #2
    Registered User
    Join Date
    Apr 2006
    Posts
    132
    shouldnt this be in the network forums?

  3. #3
    erstwhile
    Join Date
    Jan 2002
    Posts
    2,227
    That's a fair point. Moved.
    CProgramming FAQ
    Caution: this person may be a carrier of the misinformation virus.

  4. #4
    Registered User
    Join Date
    Sep 2004
    Location
    California
    Posts
    3,255
    Bind one socket to one interface, and bind another socket to the other interface. Then use the regular send() and recv() functions to send the data across and receive it on the other side.

    When you connect, make sure and use the actual interface ip address instead of the loopback address though.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. BOOKKEEPING PROGRAM, need help!
    By yabud in forum C Programming
    Replies: 3
    Last Post: 11-16-2006, 11:17 PM
  2. Can someome help me with a program please?
    By WinterInChicago in forum C++ Programming
    Replies: 3
    Last Post: 09-21-2006, 11:58 PM
  3. C++: Reference Book, GUI, Networking & Beyond
    By kuphryn in forum C++ Programming
    Replies: 4
    Last Post: 11-10-2001, 08:03 PM
  4. My program, anyhelp
    By @licomb in forum C Programming
    Replies: 14
    Last Post: 08-14-2001, 11:04 PM

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