Sending data via TCP/IP using C/C++ Borland builder

Hi

I have created a network between 2 computers using a cross-over cable and would like to send data from one PC to the other via TCP/IP using Borland C/C++ Builder. Do you have any idea how I can do it? Do you also know how I can read the Port number and IP adress?

Thanks in advance

Comments

  • : Hi
    :
    : I have created a network between 2 computers using a cross-over cable and would like to send data from one PC to the other via TCP/IP using Borland C/C++ Builder. Do you have any idea how I can do it? Do you also know how I can read the Port number and IP adress?
    :
    : Thanks in advance
    :

    Learn sockets.
    Here's a great tutorial:
    http://beej.us/guide/bgnet/
  • : : Hi
    : :
    : : I have created a network between 2 computers using a cross-over cable and would like to send data from one PC to the other via TCP/IP using Borland C/C++ Builder. Do you have any idea how I can do it? Do you also know how I can read the Port number and IP adress?
    : :
    : : Thanks in advance
    : :
    :
    : Learn sockets.
    : Here's a great tutorial:
    : http://beej.us/guide/bgnet/
    :

    only thing you want to note is that if your using older versions of windows you may want to use winsock2.h instead winsock.h as the winsock contains some references to dlls that don't exist on older versions of windows.

  • : : : Hi
    : : :
    : : : I have created a network between 2 computers using a cross-over cable and would like to send data from one PC to the other via TCP/IP using Borland C/C++ Builder. Do you have any idea how I can do it? Do you also know how I can read the Port number and IP adress?
    : : :
    : : : Thanks in advance
    : : :
    : :
    : : Learn sockets.
    : : Here's a great tutorial:
    : : http://beej.us/guide/bgnet/
    : :
    :
    : only thing you want to note is that if your using older versions of windows you may want to use winsock2.h instead winsock.h as the winsock contains some references to dlls that don't exist on older versions of windows.
    :
    :

    Hi

    This is the first time I use Borland Builder. Dont you have a simple program that can read my IP adress and port number.

    Thanks again
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories