Seebay (C++ Developer)

I wrote an auction program for a networking assignment during my graduate program at University of Southern California. Three scripts representing the server, seller, and buyer communicate with each other using sockets in a local environment.

Program Flow

Server

Creates and binds sockets for sellers and buyers who communicate through TCP and UDP protocols. They are bound on separate threads, and use mutex to lock the items from being changed simultaneously. The threads listen for and accept connections.

Seller

Creates a socket and connects to the server. Lists items and receives requests for the auction winner’s mailing information following the TCP protocol.

Buyer

Creates a socket and connects to the server as well. Communicates with the server following the UDP protocol to send bids and receive updates about higher or winning bids.

This is one of many programs I’ve written in the language throughout my academic career. View them all on my github.