[/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]
Printable View
[/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]
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