This is our major assignment for Network Programming subject.
- Use Window Socket to perform connection between a simple model network including Server and Clients.
- Features: Logging in/out, signing in, finding places, adding friend, sharing location...
- Window 7/8/10/11 OS
- C++
- WinSock 2.2
- Visual Studio 2015
Start with forking the upstream repository https://github.com/LianD-09/places-major-assignment, and clone your personal fork in your workspace. (replace LianD-09
with your own github username). Also add the upstream
repository (using https
protocol)
git clone [email protected]:LianD-09/places-major-assignment.git
cd places-major-assignment
git remote add upstream https://github.com/LianD-09/places-major-assignment
Run your server first
cd /Places-major-assignment/Debug
./Server.exe <port>
Run client
cd /Places-major-assignment/Debug
./Client.exe <server_IP> <port>
- Add header Winsock.h library to source code.
- Add pre-processor declaration:
#pragma comment(lib, "Ws2_32.lib")