C++ sockets

02/27/2010 04:03 PeTe Ninja#1
how would i create a socket in C++?
02/27/2010 04:33 .Ocularis#2
[Only registered and activated users can see links. Click Here To Register...]
02/27/2010 05:11 ImFlamedCOD#3
[Only registered and activated users can see links. Click Here To Register...]
Pete you have been around way long enough to know that over 90 pct of all the conquer projects here are written in c#. No one expect Hybrid and Unknownoone have written a full working C++ source that in know of. You need to google Sockets in C++ and read up on them because nobody here can explain it well.
02/27/2010 06:50 LetterX#4
Quote:
Originally Posted by ImFlamedCOD View Post
No one expect Hybrid and Unknownoone have written a full working C++ source that in know of.
Don't forget to add in bone-you/Zero to that list. D;
02/27/2010 08:37 _tao4229_#5
socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);
02/27/2010 08:41 .Ocularis#6
Wait, ssl sockets or winsock
02/27/2010 09:13 LegalConquer#7
lol i just logged onto look and now im stuck reading stuff like this all the time -.-
02/27/2010 12:07 ImmuneOne#8
I would prefer you to read some tutorials on WSASocket, if you didn't understand it after reading the tutorial, feel free to private message me and I will explain it to you.

Offtopic:
Message to all of you!
Code:
+++++++++++++++++++++++++[>++>+++>++++>+++++<<<<-]+++++++++++++++++++++++++>>---.>+.+++++++..+++.<<<+++++++.>>>>----.<.>----.<<<<.>>>-------.-------.>+.<++++.<<<.>>>+++++.>-.--.+.<<<<.>>>>----.++.---.+++++++.<-----.>--------.<<<<.>>>>+++++++++++.<++++++++++.>----.<<<<.>>>--------.>------.+++++.<<<<.>>>>------.+.<<<<.>>>>---.<++.---.-.
02/27/2010 15:15 Nullable#9
Two main styles:
old school -> WSA functions(version 1.1/2.2 both have different uses) [Only registered and activated users can see links. Click Here To Register...]
new and nifty -> boost libraries, [Only registered and activated users can see links. Click Here To Register...] [Only registered and activated users can see links. Click Here To Register...]
edit: almost forgot, wsa is native, it doesn't contain the same Asynchronous sockets support as .NET does, it does support asynchronous sockets(version 2.2 functions) but in a really limited behavior so before trying to do it and thinking it is as easy as it can be done in .NET, read some tutorials or discussions about it(lots are roaming around)
02/27/2010 17:23 PeTe Ninja#10
k thanks guys ill look into this more later