Skip to content

Guiguerreiro39/golang-tcp-auction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CLI Auction house

This project was done in order to improve my Golang skills.

It simulates an auction house where you can create rooms and place bids for certain rewards.

Since it's an auction house, it must support several clients. Golang makes it simple to do so by using goroutines.

Clients connect to the server using TCP connection. This could also be done by using UDP or HTTP.

Usage

To start the server:

  1. Open a command line window or terminal and navigate to the server folder.
  2. If on Windows, simply run: server {PORT} where {PORT} is the port you desire.
  3. Otherwise you must have Golang installed and run go build

To start a client:

  1. Open a command line window or terminal and navigate to the client folder
  2. If on Windows, simply run client {IP}:{PORT} where {IP} is localhost or 127.0.0.1 and {PORT} is the one specified in the server
  3. Otherwise you must have Golang installed and run go build
  4. Repeat the process for as many clients as you want!

About

An auction house built in golang which uses tcp

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages