Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Bidirectional data transfer !!!

    Hello all !

    I am new to Linux.

    I want to know how to perform data transfer between client and server bidirectionaly using socket programming..

    Anyone have idea please tell me..



  2. #2
    Just Joined!
    Join Date
    Aug 2005
    Belgrade, Serbia
    You should use functions like socket(), bind(), listen(), accept() on server side, and socket(), connect() on client side. Check to learn more about these functions. For exchanging data, use send() and recv(), or similar.

    Also, for closing connection, see close() and shutdown(). I can send you a complete simple example (source code) about this topic. Just e-mail me at asutic[at]gmail[dot]com.

    A newbie to newbie ...


Posting Permissions

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