Skip to content
/ good Public

Introduction to programming final project with socket programming (Fall-2015)

License

Notifications You must be signed in to change notification settings

9231058/good

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Good

Introduction

Networking phase of Final Project of Introduction to Programming Course (Fall 2015). On that year, Iman and I decided to have networking phase for our final project, which was a game that can be played in multiplayer model.

How it works?

Students use the multiplayer.h header file to initiate the game and then each player move should send with the given functions. Actually students didn't touch the socket programming by themselves, and use what we implemented for them.

C Socket Programming in MinGW

For those using MinGW as their socket programming library, they can use almost all of BSD socket functions in their program and at the end they must add these lines of code to load WINSock DLL.

WSADATA wsaData;
WSAStartup(MAKEWORD(2, 2), &wsaData);

And use following command for compiling:

gcc main.c  -lws2_32

About

Introduction to programming final project with socket programming (Fall-2015)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published