Coder Social home page Coder Social logo

ultrafeel / hello_socket Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 25 KB

Two programs (the client and the server) for execution of a remote command and return of results: The client unites to the server then accepts from the user a command and its parameters in the form of a line of characters and parameters of a command which are required to be executed on the remote computer. After input of a command by the user, the client sends it on the server and accepts back result of command execution which the server shall return. In the server there shall be no restriction for the number of the connected clients (i.e. greatest possible for the selected protocol and the server). The server shall be realized by two methods: as the multiprocess (Option A) program (the server is several processes) or as multicontinuous (Option B) (the server - one process within which several flows work). The operation option choice the A or B server shall be carried out by reading of parameter from command line in case of start of the program. For example "server - process" - start in A operation mode, "server - pthreads" - start in B operation mode. The TCP port on which the server expects connection shall be set in case of compilation through the directive #define in the heading file.

Makefile 5.41% C 94.49% C++ 0.10%

hello_socket's People

Contributors

ultrafeel avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.