operating sever client from same program

Posted by sksingh73 on Stack Overflow See other posts from Stack Overflow or by sksingh73
Published on 2010-05-26T16:10:05Z Indexed on 2010/05/26 16:11 UTC
Read the original article Hit count: 180

Filed under:

i want to make a single program for operating both server & client. i want my program to run in such a way that when program is launched, server should start listening for requests from other machines. but when i want to send data to other machines, my server should quit & client is launched so that i start sending data. once complete data has been transferred by client, it should quit & come back to server mode. Any suggestion on whether its feasible. if yes, then how.

© Stack Overflow or respective owner

Related posts about client-server