I have a group assignment to do and I need to basically get a simple blackjack game working over a network. So basically we have to make a Client and a server. My job is to make the game and a Client. This has to be done for next Thursday and I have been dropped in the deep end and have NEVER programmed in C++ before!
I know that I am never going to get it fully working but to at least pass I need to at least get a little Client together that at least can pass messages over the network. So what I want to do is just at least get a little chat Client working or something. We have to be able to show we can create sockets. I know that some of the processes I should need to use are: Socket(), bind(), connect() and close().
The Socket type I am using is TCP. As you can probably guess I'm really stressing about this now because I have no idea how to go about it. I'm sorry but I don't have any code to post up here.
I'm not expecting anyone to do this for me but any help that anybody is willing to give me will be more than appreciated. Any code, examples or anything that might help me at least get a simple Client set up will be of great help. Or if somebody has the time to do a little more than that feel free.
Thank you for any help, Mark.
P.S. If anybody does want to help but needs more information on what I have to do just ask.
(The reason I have never used C++ before is because I took a year out at uni and then when I came back they had changed the programming we are using from Java to C++ so it's my supid Uni's fault that I can't do this!)