C++ Sockets

Discussion on Coding.
HatoL
Member
Posts: 151
Joined: Sun Jul 25, 2004 12:16 pm
Contact:

Post by HatoL »

hi,
i'm kinda back to this forum after i wasn't here for a while (year and a half?)
so i learned c++,and now i wanna learn C++ sockets too
like how i can connect and send things between one program to other, sending and listening
so does anyone has a website that teaches that?
thx...
Charles
Loyal fan
Posts: 418
Joined: Wed Nov 26, 2003 8:20 pm

Post by Charles »

HatoL wrote: hi,
i'm kinda back to this forum after i wasn't here for a while (year and a half?)
so i learned c++,and now i wanna learn C++ sockets too
like how i can connect and send things between one program to other, sending and listening
so does anyone has a website that teaches that?
thx...
how much c++ did you learn exactly? i would take of game design if you wanna learn a bit about sockets, or you could simply look at hb sources and figure out what the sockets do exactly, communications could help too haha.
<i>"Always write good code. Feel bad to write bad code."</i>
HatoL
Member
Posts: 151
Joined: Sun Jul 25, 2004 12:16 pm
Contact:

Post by HatoL »

Charles wrote:
HatoL wrote: hi,
i'm kinda back to this forum after i wasn't here for a while (year and a half?)
so i learned c++,and now i wanna learn C++ sockets too
like how i can connect and send things between one program to other, sending and listening
so does anyone has a website that teaches that?
thx...
how much c++ did you learn exactly? i would take of game design if you wanna learn a bit about sockets, or you could simply look at hb sources and figure out what the sockets do exactly, communications could help too haha.
hmm,i learned C++,and i'm an advanced now,
i'm not trying to build a game,just want to learn this topic a little bit
i've tried to look at the HB source code files,and i saw what it is like and...
so do you have any website that i can learn from?
binarydata
DBfiller
Posts: 3816
Joined: Fri Oct 31, 2003 5:30 am
Location: San Diego CA, USA
Contact:

Post by binarydata »

heres a good tutorial
<a href='http://www.codeproject.com/useritems/be ... cp_cpp.asp' target='_blank'>http://www.codeproject.com/useritems/be ... cpp.asp</a>

your going to need the winsock library i think?
<img src='http://img88.exs.cx/img88/2290/7666.jpg' border='0' alt='user posted image' />
HatoL
Member
Posts: 151
Joined: Sun Jul 25, 2004 12:16 pm
Contact:

Post by HatoL »

binarydata wrote: heres a good tutorial
<a href='http://www.codeproject.com/useritems/be ... cp_cpp.asp' target='_blank'>http://www.codeproject.com/useritems/be ... cpp.asp</a>

your going to need the winsock library i think?
ok and thanks,
but will it work if i program on console mode and not on windows gui mode?
Treax2
Loyal fan
Posts: 281
Joined: Fri Mar 04, 2005 5:05 pm
Location: Estonia
Contact:

Post by Treax2 »

yes it will.
if i rember right then cleroth made console wlserver.
bone-you
Spamtastic
Posts: 1310
Joined: Wed Mar 16, 2005 3:12 am

Post by bone-you »

Treax2 wrote: yes it will.
if i rember right then cleroth made console wlserver.
lol that's funny. He couldn't code a hello world program if someone gave him the main.cpp.
<img src='http://www.helbreathx.net/sig/sig.jpeg' border='0' alt='user posted image' /><br><a href='http://mafia.cheats4us.org/index.php?x=231030' target='_blank'>#1 on Mafia :D</a><br><!--QuoteBegin-Slipknight+--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Slipknight)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->100mb Internet, burstable too 10GB oc192<br>his speed can go up too 10gbs<br>...<br>Yes my car can have a top speed of 1000mph<!--QuoteEnd--></td></tr></table><div class='signature'><!--QuoteEEnd--><br>^^ I wonder where the retard went to.
Orkl
Loyal fan
Posts: 376
Joined: Sat Sep 17, 2005 2:31 pm

Post by Orkl »

bone-you wrote:
Treax2 wrote: yes it will.
if i rember right then cleroth made console wlserver.
lol that's funny. He couldn't code a hello world program if someone gave him the main.cpp.
roflmao
<!--QuoteBegin-crazymnig88+--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (crazymnig88)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->by notepad??? it didn't show any code, just show words wif no mean<!--QuoteEnd--></td></tr></table><div class='signature'><!--QuoteEEnd--><br><!--QuoteBegin-charlie+--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (charlie)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->he'll probably save it as 600pagebook.bmp<br><br>400gb file plzkthnx<!--QuoteEnd--></td></tr></table><div class='signature'><!--QuoteEEnd-->
Sentinel
Loyal fan
Posts: 462
Joined: Thu Jan 11, 2007 4:16 pm

Post by Sentinel »

Orkl wrote:
bone-you wrote:
Treax2 wrote: yes it will.
if i rember right then cleroth made console wlserver.
lol that's funny. He couldn't code a hello world program if someone gave him the main.cpp.
roflmao
So Harsh... but true.
<!--QuoteBegin--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->charlie says:<br>i may own outpost but im not a nerd<!--QuoteEnd--></td></tr></table><div class='signature'><!--QuoteEEnd--><br><!--QuoteBegin--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->(locobans @ Mar 12 2007, 10:48 PM) <br>"Remember while peeing, If you shake it more than twice you playing with it..." <br><!--QuoteEnd--></td></tr></table><div class='signature'><!--QuoteEEnd-->
Cleroth
Loyal fan
Posts: 416
Joined: Wed Jun 16, 2004 7:08 pm

Post by Cleroth »

bone-you wrote:
Treax2 wrote: yes it will.
if i rember right then cleroth made console wlserver.
lol that's funny. He couldn't code a hello world program if someone gave him the main.cpp.
So funny, you we're the one stealing my code. So far, I've seen nothing from you and am not interested in anyways. But as I see you are still in this whole shitty community were you actually belong.
<img src='http://ic1.deviantart.com/fs11/i/2006/1 ... leroth.gif' border='0' alt='user posted image' />
Dax
&lt;3 bd long time
Posts: 785
Joined: Mon Apr 18, 2005 3:19 pm

Post by Dax »

Sentinel wrote:
Orkl wrote:
bone-you wrote: lol that's funny. He couldn't code a hello world program if someone gave him the main.cpp.
roflmao
So Harsh... but true.
Keep your useless fucking opinions to yourself. Fuck you talk some shit. You dont even know Cleroth. I could give you the entire fucking code to a hello world app and you'd still find some way to fuck it.

And Jimmy wtf is your problem. Cleroth would kill you with codes hands down. He shits on you. I'm not saying you suck, I'm saying he's that much fucking better. Think before you speak.
Reppin' 127.0.0.1!!!<br><br><img src='http://img502.imageshack.us/img502/1348/sig4daxbn2.jpg' border='0' alt='user posted image' /><br><br>I contend that we are both atheists. I just believe in one fewer god than you do. <br>When you understand why you dismiss all the other possible gods, you will <br>understand why I dismiss yours.<br>~ <b>Stephen Roberts</b>
Cleroth
Loyal fan
Posts: 416
Joined: Wed Jun 16, 2004 7:08 pm

Post by Cleroth »

Stop wasting your time in outpost. Go play outside :P
<img src='http://ic1.deviantart.com/fs11/i/2006/1 ... leroth.gif' border='0' alt='user posted image' />
bone-you
Spamtastic
Posts: 1310
Joined: Wed Mar 16, 2005 3:12 am

Post by bone-you »

Dax wrote: Keep your useless fucking opinions to yourself. Fuck you talk some shit. You dont even know Cleroth. I could give you the entire fucking code to a hello world app and you'd still find some way to fuck it.

And Jimmy wtf is your problem. Cleroth would kill you with codes hands down. He shits on you. I'm not saying you suck, I'm saying he's that much fucking better. Think before you speak.
Cleroth is shit. He claims all I did was steal code and put my name on it. Somehow it seems it's HIM who did that. Either way, he's still a fuckstick and a childish one (15 now right?) one at that. The only thing I've really seen him "code" (if it WAS his own code) was that shitty ass dialog based client that didn't even fully work. All it did was connect, chat, and move right? I'd like to see the little shit do anything I've done so far. He can't code for shit.
<img src='http://www.helbreathx.net/sig/sig.jpeg' border='0' alt='user posted image' /><br><a href='http://mafia.cheats4us.org/index.php?x=231030' target='_blank'>#1 on Mafia :D</a><br><!--QuoteBegin-Slipknight+--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Slipknight)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->100mb Internet, burstable too 10GB oc192<br>his speed can go up too 10gbs<br>...<br>Yes my car can have a top speed of 1000mph<!--QuoteEnd--></td></tr></table><div class='signature'><!--QuoteEEnd--><br>^^ I wonder where the retard went to.
Sprint
Spamtastic
Posts: 1000
Joined: Tue Jun 06, 2006 6:59 am
Location: Far from home
Contact:

Post by Sprint »

owned...
<span style='color:blue'><span style='font-size:19pt;line-height:100%'><u><b>FUCK Helbreath!</b></u></span></span><br><br><span style='color:gray'><a href='http://www2.analystica.com/users/anttu/online/ngd' target='_blank'>ngdnetwork</a> OFFICIAL WEBSITE OF Northern Game Developers. Do visit! (THEY ARE UP!)<br><a href='http://project3d.x.am' target='_blank'>Project3d development forum</a> plz join and discuss,develop,give ideas,feedback. Anything goes as long it helps the project!</span><br><br>Zepto Znote 6625WD: 1.8Ghz dual core, 2GB, 512mb graphics card(dedicated), 160GB HDD<br><img src='http://www.signaturebar.com/uploads/images/10111.jpg' border='0' alt='user posted image' /><br><img src='http://www.signaturebar.com/uploads/images/13229.jpg' border='0' alt='user posted image' /><br><img src='http://www.signaturebar.com/uploads/images/8852.png' border='0' alt='user posted image' />
Cleroth
Loyal fan
Posts: 416
Joined: Wed Jun 16, 2004 7:08 pm

Post by Cleroth »

bone-you wrote:
Dax wrote: Keep your useless fucking opinions to yourself. Fuck you talk some shit. You dont even know Cleroth. I could give you the entire fucking code to a hello world app and you'd still find some way to fuck it.

And Jimmy wtf is your problem. Cleroth would kill you with codes hands down. He shits on you. I'm not saying you suck, I'm saying he's that much fucking better. Think before you speak.
Cleroth is shit. He claims all I did was steal code and put my name on it. Somehow it seems it's HIM who did that. Either way, he's still a fuckstick and a childish one (15 now right?) one at that. The only thing I've really seen him "code" (if it WAS his own code) was that shitty ass dialog based client that didn't even fully work. All it did was connect, chat, and move right? I'd like to see the little shit do anything I've done so far. He can't code for shit.
Oh, sorry master. Your 3.51 client source rocks! All you have done for this HB until now is arguing with people who own you badly. You suck.
Stop crying because you have been owned by a 15-year-old kid.
I still remember when I first came into your HBX chat shit. You've had the client source for months ( supposedly ) and you couldn't even fix the status bug. Strangely, the day after I told you what was wrong with it, your client was working perfectly? Oh, no... That isn't odd... You were working really hard that day, weren't you?
<img src='http://ic1.deviantart.com/fs11/i/2006/1 ... leroth.gif' border='0' alt='user posted image' />
Post Reply