thanks for your reply ....i saw the video and i saw tha you write about lib but when i open psdk it tels me that it looks for visual studio if it is installed...i tried to give the path by hand but even then nothing :(....i try to do that you did in video but for ipv6 with my code ...
@waralotHD Send me your "send & recv" code in a PM Quick tutorial How to send an int: int integer = 1995; char c_integer[16]; // Convert into char itoa(integer, c_integer, 10); send(Socket, c_integer, 16, NULL); Recv an int: int integer; char c_integer[16]; recv(Socket, c_integer, 16, NULL); //Convert char to int integer = atoi(c_integer);
Point 2 look on youtube for Meterpreter Pass the Hash posted by PositiveSecurity
Point 3 nonsense ? hide from antivirus programs ?
Point 6 nonsense man did you ever heard about Botnet? this is not nonsense its KungFu :-)the power of thousand united as one (this is of course for education purpose )like S.E.T.I project for instance :-)
Payment answer is yes ,if i could see a result ,you should contact me about that
implement here the option as soon as a connection is established a cmd shell is offered this would be nice to know how to do this a second interesting thing would be ,to implement also the options to let the server part tell us in the WAN where he is ,maybe by sending a ping to an no-ip.org address that we could monitored with wireshark for instance. if you than also implement the option to establish a minimal encrypted connection between server and client and also donwload/upload files
@IceT3e3a well i mean as soon the server is installed it send to the "outside world" WAN a massage telling "Master i am ready to serve you" maybe it connect automatically to an irc server enter an password protected room and tells us that way the ip adress so that we can connect back with the client
@IceT3e3a How is this possible with an dynamic IP?and to be 100% sure the server should create an encrypted tunnel to reach the outside world ,i still would prefer the irc channel (don't no why ).
Just to answer your question about why there more views for Part 1 versus Part 2. I think most people find it difficult to watch a silent video. Try to incorporate some voice with explanation; you'd be surprised how many people actually finish watching Part 1 and move on to Part 2. Thanks for sharing the video.
@IceT3e3a i got a new problem now asides from that one, i got it working, but . i got win7 like you, and it wont open the telnet-client thing that you searched wouldnt open for me ??? any idea's on that
Hey man. Could you please create a tutorial for this for Code::Blocks and not Visual Express? And does this server stream constantly to the client, or does the client only update when the server tells the client(s) to do so?
@IceT3e3a Ok! Thank you man. I already made a server and a client. I thaught there was a difference between VC++ and Code::Blocks, but it is probably the layout and the text color.
thank you for this lovely tutorial indeed this is my very first project and i wanted to learn this c++ for this reason and making lots of things ive seen on the internet and on a youtube channel i like can anyone recommend a good tutorial channel for c++ and dont say this one, i would like to have a very experienced person telling me what to do no offence but this is a great tutorial still
@ShoXz6 Okey...step by step now: Create a new empty Win32 console-app! Add a new .cpp file to your project! Link the Ws2_32.lib include WinSock2.h first then include Windows.h then include iostream then include stdlib.h then include string then using namespace std; If not working tell me your IDE and OS
c:\users\stephen\documents\college\programming\cprog\network programming\client-server\client-server\main.cpp(61): fatal error C1010: unexpected end of file while looking for precompiled header. Did you forget to add '#include "StdAfx.h"' to your source?
i tried and it didnt like that either, also i removed the dupliacted stdio.h in both yourname and stdafx.h
@IceT3e3a yeah that was it, thank you very much :) now i just need to figure out how to get telnet working, it must be disabled on my pc or something.
hey bro. i really enjoyed ur tutorial. screw the fuckin mike. i really how you explain the code line by line while commenting. i suck at programing so it really helped me understand..
Gtting fw errors while compiling tho..
In YourName.h
YourName.h:4:22: sdkddkver.h: No such file or directory
i think i got a lot of error because of this, my other main.cpp is unable to compile.
yea bro i work on windows. I'll download VC++ but the lecturers in our uni have asked us to use GCC.
Im currently doing my 1st assignment which involves writing an FTP server program using sockets, that accepts LIST, RETR and STOR commands issued by the client..
I cant find any help on the internet.. Do u know anyplace where I might be able to get some help with this assessment. Im really lost.
Anyway I understand your problem! You write a simple socket server, which is waiting in an endless loop
for a connection. If a connection was found the server waits for a command (LIST, RETR, STOR...I don`t know what these commands are doing ._.). In my second tutorial I think I am showing how to send and recv commands between client and server!
I really don`t understand why they didn`t teach you C++ basics or WinSock stuff...
Oh my god, i found my error. I see on your clip "DLLSTART - MAKEWORD(2,1);", after use your code you have sent me, i change "DLLSTART = MAKEWORD(2,1);", and it 's ok. Thank for your fast comment ^^
I have watched in HD, when i code follow you, my app run ok but when it run, it always show this error :"The variable 'DLLVERSION' is being used without being initialized." . Please help me!!
this is great. Thanks IceT3e3a cant wait for part 2 will that be up any time soon you think? Also do you know anything about multithreading in windows because I's love to see a tutorial on that
Great! Thanks alot..This was really helpful
SIftikharAlam 17 hours ago
and that
and i have an exception about that
Unhandled exception at 0x1029984f in server.exe: 0xC0000005: Access violation reading location 0x00000020.
and
'server.exe': Loaded 'C:\Documents and Settings\NIKOS\Desktop\server\Debug\server.exe', Symbols loaded.
'server.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll'
'server.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll'
'server.exe': Loaded 'C:\WINDOWS\system32\ws2_32.dll'
'server.exe': Loaded 'C:\WINDOWS\system32\advapi32.dll'
'
tsatsimas 3 weeks ago
@tsatsimas
Don`t forget to allocate enough memory
IceT3e3a 3 weeks ago
@tsatsimas Make sure you've closed it before debugging again.
theman1860 6 days ago
and i have an exception about that
Unhandled exception at 0x1029984f in server.exe: 0xC0000005: Access violation reading location 0x00000020.
tsatsimas 3 weeks ago
thanks for your reply ....i saw the video and i saw tha you write about lib but when i open psdk it tels me that it looks for visual studio if it is installed...i tried to give the path by hand but even then nothing :(....i try to do that you did in video but for ipv6 with my code ...
tsatsimas 3 weeks ago
is this also the same if i were to code it in linux?
jan007magic 3 weeks ago
@jan007magic
There are only one or two changes, but nothing difficult.
You have to link other libs and headers, here is a good tutorial:
linuxhowtos org C_C++ socket.htm
IceT3e3a 3 weeks ago
please help me for visual c++ 2008 how i put the path to make the connection between msSDK and vs c++ 2008
tsatsimas 3 weeks ago
@tsatsimas
the pathes are set automaticaly.
In the video I show how to link the Ws2_32.lib and how to include Winsock2.h
IceT3e3a 3 weeks ago
can someone to tell me the first 3 headers i can not see them
tsatsimas 3 weeks ago
IceT3e3a would you mind helping me out a little thing for a minecraft server?
all i need is a example to recive (and maybe send).
that all.
nice video almost forgot that...
waralotHD 3 weeks ago
@waralotHD
In my tutorials I show how to work with recv and send
IceT3e3a 3 weeks ago
@IceT3e3a I know but i recive a int (160).
while i need to be reciving a string (waralot).
so my friend sugested that i am somehow reciving a numbere related to the socket itself?
waralotHD 3 weeks ago
IceT3e3a 3 weeks ago
Key logger (not necessary) CD Open/Close shit not necessary
Hash Dump of windows hashes would be cool
Polymorphic code (server changes his code periodically)
Upload and execute files Grab screenshot to see if all is still ok with the host
Possibility to add/remove/change windows keys in registry
Possibility to connect several servers together and act as one,controlled by one client or by one central server ,main server controlled by one client
aporeg 1 month ago
@aporeg
1 ok, cd open/close is kiddy shit, but keylogger is important ._.
2 dunno what this is (If payment is right I would try it)
3 nonsense
4 yes yes
5 yes
6 nonsense (If payment is right I will bring it)
IceT3e3a 1 month ago
@IceT3e3a
Point 2 look on youtube for Meterpreter Pass the Hash posted by PositiveSecurity
Point 3 nonsense ? hide from antivirus programs ?
Point 6 nonsense man did you ever heard about Botnet? this is not nonsense its KungFu :-)the power of thousand united as one (this is of course for education purpose )like S.E.T.I project for instance :-)
Payment answer is yes ,if i could see a result ,you should contact me about that
aporeg 1 month ago
@aporeg
2. I will look what I can do
3. I can try it
6. Ah ok you meant a botnet, thats no problem.
Send me your requirements in a pm and when I have the time I will take a look at it
and If I have first results you will get a demo, if you like it I will make a few changes
and give it to you
IceT3e3a 1 month ago
implement here the option as soon as a connection is established a cmd shell is offered this would be nice to know how to do this a second interesting thing would be ,to implement also the options to let the server part tell us in the WAN where he is ,maybe by sending a ping to an no-ip.org address that we could monitored with wireshark for instance. if you than also implement the option to establish a minimal encrypted connection between server and client and also donwload/upload files
aporeg 1 month ago
@aporeg
point 1 and 3 would be no problem for me, but a tutorial for this would take too much time.
I am not sure what you mean with point 2
IceT3e3a 1 month ago
@IceT3e3a well i mean as soon the server is installed it send to the "outside world" WAN a massage telling "Master i am ready to serve you" maybe it connect automatically to an irc server enter an password protected room and tells us that way the ip adress so that we can connect back with the client
aporeg 1 month ago
@aporeg
Ah ok...but the server could direct connect to his "master". This would be a lot easier
IceT3e3a 1 month ago
@IceT3e3a How is this possible with an dynamic IP?and to be 100% sure the server should create an encrypted tunnel to reach the outside world ,i still would prefer the irc channel (don't no why ).
aporeg 1 month ago
SOCKADOR_IN is undefined for me :(
yppimcolorblind 1 month ago
@yppimcolorblind
It should be SOCKADDR_IN not SOCKADOR_IN
If this does not change your situation, check if you included the right header
and the Ws2_32.lib
IceT3e3a 1 month ago
@IceT3e3a wow im bad, haha ty!
yppimcolorblind 1 month ago
cant read nothin on your tiny a** video. nice try tho.
jiggymagee 2 months ago
@jiggymagee
HD + Fullscreen?
IceT3e3a 2 months ago 3
Thank you so much for this very detailed and professional tutorial.. :D
0More0Cores0 2 months ago
This has been flagged as spam show
I wanna say : Ty very much !
this is a very helpful video for my first network project. ! :)
gale93 2 months ago
Could you do a tutorial on how to convert this to be able to have multiple clients connect to the server?
BankruptMonopoly 2 months ago
thank you very helpful for my networks project.
pilezel 3 months ago
FUCK, do i have to have a computer to make this ;(
I dont have one :I
djip123 4 months ago
@djip123
If you want to program an application you need a pc...
IceT3e3a 4 months ago
@IceT3e3a nice work dude, helped me alot to understand how should work.
Can i go offtopic for a small question please? Why does developers use dual monitors?
Yes i know i can google but i prefer to be explained from a guy who just made a server!
iiperento 3 months ago
@iiperento
I am not a real developer, i am just 16.
But at my practical work I saw developers working with 2 or 3 monitors. I did not ask them why, but I think
with more monitors they have a better overview over their tasks or projects.
IceT3e3a 3 months ago
@IceT3e3a Hey its not working for me, i get an error
warning C4005: 'AF_IPX' : macro redefinition
and 105 other errors
i suspect a problem with the Library
Gods1mbad 2 months ago in playlist More videos from IceT3e3a
@Gods1mbad
Good Idea
I think you should include WinSock2.h first and after this Windows.h, this should fix it.
If you did this before send me the whole error code
IceT3e3a 2 months ago
Great job!!! This video helped me a lot
Tevertshjelm 4 months ago
@IceT3e3a
:P hey if you got skype or something PM me and we can voice chat on some stuff :P :D would apreciate it :/
GamingForLife96 6 months ago
@GamingForLife96
Okey...I have to look up my skype nick...I will send u a pm later!
IceT3e3a 6 months ago
Thanks man!!...
vishiorivera 6 months ago
You're gay, you use MS Notepad.
D4rkSideZ777 6 months ago
@D4rkSideZ777
dummer kommentar
IceT3e3a 6 months ago
why do you use express version use pro premium or ultimate (premium is very good, ultimate installs so many components that your PC dies)
NarekNitrogen 7 months ago
@NarekNitrogen
little bit expensive
IceT3e3a 7 months ago
wicked crash course... i feel smarter, but at the same time, i didnt learn much...
neobadandy 8 months ago
thank you!!!
uhvatilomeludilo 8 months ago
Just to answer your question about why there more views for Part 1 versus Part 2. I think most people find it difficult to watch a silent video. Try to incorporate some voice with explanation; you'd be surprised how many people actually finish watching Part 1 and move on to Part 2. Thanks for sharing the video.
pstcontrl 9 months ago
@IceT3e3a i got a new problem now asides from that one, i got it working, but . i got win7 like you, and it wont open the telnet-client thing that you searched wouldnt open for me ??? any idea's on that
GamingForLife96 9 months ago
@GamingForLife96
You have to activate Telnet-service first.
Goto: systemcontrol/programms/Windows-Functions enable-disable
There you can enable Telnet. To start telnet just type into cmd: "telnet"
IceT3e3a 9 months ago
@IceT3e3a what does it mean if it just keeps going like saying waiting for connection and connection found and everything :/ idk how to fix :(
GamingForLife96 9 months ago
@GamingForLife96
Is the IP you entered into your program similar to the IP of your PC?
IceT3e3a 9 months ago
Hey man. Could you please create a tutorial for this for Code::Blocks and not Visual Express? And does this server stream constantly to the client, or does the client only update when the server tells the client(s) to do so?
Olemassacre 9 months ago
@Olemassacre
I am sorry but I am working with VC++ only, althoguh I won`t make a Code::Blocks tut. But isn`t it the same?
It streams constantly...One time you connected you stay connected until you close the sockets with closesocket();
IceT3e3a 9 months ago
@IceT3e3a Ok! Thank you man. I already made a server and a client. I thaught there was a difference between VC++ and Code::Blocks, but it is probably the layout and the text color.
Olemassacre 9 months ago
Yes! I love you!
1xvonx1 9 months ago
thank you for this lovely tutorial indeed this is my very first project and i wanted to learn this c++ for this reason and making lots of things ive seen on the internet and on a youtube channel i like can anyone recommend a good tutorial channel for c++ and dont say this one, i would like to have a very experienced person telling me what to do no offence but this is a great tutorial still
UrbanxAaron 10 months ago
@UrbanxAaron
google translator ftw...
I am sorry my friend, but I cant understand anything...
IceT3e3a 10 months ago
IceT3e3a 10 months ago
@IceT3e3a tried that, no matter what i seem to do, it always says "Did you forget to add '#include "StdAfx.h"' to your source?"
visual c++ 2010 express
win7 ultimate 32bit
ShoXz6 10 months ago
c:\users\stephen\documents\college\programming\cprog\network programming\client-server\client-server\main.cpp(61): fatal error C1010: unexpected end of file while looking for precompiled header. Did you forget to add '#include "StdAfx.h"' to your source?
i tried and it didnt like that either, also i removed the dupliacted stdio.h in both yourname and stdafx.h
ShoXz6 10 months ago
@ShoXz6
the headers you need:
WinSock2.h
Windows.h
iostream
string
Other files aren`t neccessary for this project...
And do you created an empty console application?
IceT3e3a 10 months ago
@IceT3e3a fuck that was fast.
sdkddkver.h, conio.h, stdio.h, WinSock2.h, Windows.h, iostream
and emtpy console app as in Win32 console app right?
ShoXz6 10 months ago
@ShoXz6
yes
IceT3e3a 10 months ago
@IceT3e3a
dont work, i get that error i posted before
ShoXz6 10 months ago
@ShoXz6
Do you enabled the option "precompilied headers" in the project setup?
If yes disable it!
This must be the solution...
IceT3e3a 10 months ago
@IceT3e3a yeah that was it, thank you very much :) now i just need to figure out how to get telnet working, it must be disabled on my pc or something.
ShoXz6 10 months ago
@ShoXz6
Telnet is disabled under Windows. But you can enable it under system-control/programs/Windows-Functions enable/disable
IceT3e3a 10 months ago
@IceT3e3a sorted :) i have this and part 2 working fine, thanks for the great tutorials :)
ShoXz6 10 months ago
hey bro. i really enjoyed ur tutorial. screw the fuckin mike. i really how you explain the code line by line while commenting. i suck at programing so it really helped me understand..
Gtting fw errors while compiling tho..
In YourName.h
YourName.h:4:22: sdkddkver.h: No such file or directory
i think i got a lot of error because of this, my other main.cpp is unable to compile.
It says things such SOCKET are not declared...
I am using the GCC compiler, and im new to C++
devilboy55 10 months ago
@devilboy55
Do you work under Windows?
If yes do yourself something good and install VC++, Much better for a beginner!
IceT3e3a 10 months ago
@IceT3e3a
yea i do.. I'll install VC++, but in my uni we are suppose to use the GCC compiler..
devilboy55 10 months ago
@IceT3e3a
yea bro i work on windows. I'll download VC++ but the lecturers in our uni have asked us to use GCC.
Im currently doing my 1st assignment which involves writing an FTP server program using sockets, that accepts LIST, RETR and STOR commands issued by the client..
I cant find any help on the internet.. Do u know anyplace where I might be able to get some help with this assessment. Im really lost.
devilboy55 10 months ago
@devilboy55
the lectures in your uni are shit...
Anyway I understand your problem! You write a simple socket server, which is waiting in an endless loop
for a connection. If a connection was found the server waits for a command (LIST, RETR, STOR...I don`t know what these commands are doing ._.). In my second tutorial I think I am showing how to send and recv commands between client and server!
I really don`t understand why they didn`t teach you C++ basics or WinSock stuff...
IceT3e3a 10 months ago
i am grateful, thanks a lot
b4ra2 10 months ago
Oh my god, i found my error. I see on your clip "DLLSTART - MAKEWORD(2,1);", after use your code you have sent me, i change "DLLSTART = MAKEWORD(2,1);", and it 's ok. Thank for your fast comment ^^
goder2910 1 year ago
@goder2910 When you get the error: The variable 'DLLVERSION' is being used without being initialized.
Then you use the variable 'DLLVERSION' but you didn´t initialized the variable. ;D
For example:
int number;
int number2= 3;
int result;
result = number+number2;
This can´t work because the compiler don´t know the value of number..
I hope you never get this error again ;D
MrSimonKeks 1 year ago
I have watched in HD, when i code follow you, my app run ok but when it run, it always show this error :"The variable 'DLLVERSION' is being used without being initialized." . Please help me!!
goder2910 1 year ago
@goder2910
I`ve never got this error...
Maybe you have done a writing error, while starting the DLL!
Here is the code again, on how to start the DLL:
long answer;
WSAData wsaData;
WORD DllVersion;
DllVersion = MAKEWORD(2,1);
answer = WSAStartup(DllVersion, &wsaData);
IceT3e3a 1 year ago
Oh my god, when i use full screen mode, i cant see anything, this is not HD. Please show me HD Clip. I really need it. Thank ^^
goder2910 1 year ago
Next time use "Camtasia Studio" to make zoom on ur code so we can see it
you have made a good tut if u can remake it with zooming in that would be great also use a mic to explain that will be faster easier to understand
thnks
ABANOP1 1 year ago
@ABANOP1
I`m sorry but at the time I have other things to do, I can`t make a remake now :(
(Maybe next month)
You should watch this in Fullscreen and HD, than you can read the code!
(And if you give me the money I will buy Camtasia for 297.00$ :D )
(!)Maybe I will use my mic in the next tutorial...
I hope you arent`t angry...
IceT3e3a 1 year ago
this is great. Thanks IceT3e3a cant wait for part 2 will that be up any time soon you think? Also do you know anything about multithreading in windows because I's love to see a tutorial on that
24jeebus 1 year ago
@24jeebus
I am on holiday in Austria now...but I will arrive at home on tuesday... so I think part 2 will be up this week (wednesday maybe)!
I think it`s possible to make a tutorial about threads in C++...
IceT3e3a 1 year ago
or no its nice with fullscreen! Thanks alot!! cant wait for the part2!
7715z 1 year ago
Thanks a lot man!! But can u upload the video else where? becouse i cant read the text xD
7715z 1 year ago