Results 1 to 2 of 2
[/b]
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 10-24-2005 #1Just Joined!
- Join Date
- Oct 2005
- Posts
- 2
Bidirectional data transfer !!!
[/b]
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..
By
S.S.G
[b]
- 10-24-2005 #2Just Joined!
- Join Date
- Aug 2005
- Location
- Belgrade, Serbia
- Posts
- 8
You should use functions like socket(), bind(), listen(), accept() on server side, and socket(), connect() on client side. Check http://www.die.net 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
...
Regards


Reply With Quote
