Skip to content

Network Programming Project (TCP Protocol + Multithreading)

Notifications You must be signed in to change notification settings

minhld99/Millionaire

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Millionaire

Table of contents

General Info

Vietnamese version of gameshow "Who wants to be a millionaire" written in C and run directly on terminal.

Member

Technology

Socket Programming in C

  • TCP Protocol
  • Multithreading
  • Select
  • SQLite3 (Database)

Setup

For running on local:

  • Uncomment this line servaddr.sin_addr.s_addr = htonl(INADDR_ANY);
  • Open the same port on server and client side: For example: $ ./server 5000

If server & client are on different network:

  • Port forwarding needed...
    (which could be done through ssh or modem config)
  1. Open server (on one's Device)
$ cd server
$ make
$ ./server 8000 (port that you forward to in local)
  1. Run client app (On others Device)
$ cd client
$ make
$ ./client
$ (then enter server external IP address & port that you forward from)

Demo

gif-demo

About

Network Programming Project (TCP Protocol + Multithreading)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published