Hi, I woul like do comunicate with my proxy, and thats my code:
proxyserver DB '192.168.0.1', 0
port DW 808
ultrastring DB 'Get http://Huhu.de/index.html HTTP/1.0',0
push offset wsadata
push 200h
call WSAStartup
MOV sin.sin_family, AF_INET
INVOKE htons, port
MOV sin.sin_port, ax
INVOKE inet_addr, ADDR proxyserver
LEA EAX, sin
INVOKE connect, socket, ADDR sin, sizeof sin
.IF EAX != SOCKET_ERROR
INVOKE MessageBox, NULL, NULL, NULL, NULL
INVOKE send, socket, ultrastring, 29, 0
.ENDIF
Thanks for reading !
Forginforcer
Greets Forinforcer
proxyserver DB '192.168.0.1', 0
port DW 808
ultrastring DB 'Get http://Huhu.de/index.html HTTP/1.0',0
push offset wsadata
push 200h
call WSAStartup
MOV sin.sin_family, AF_INET
INVOKE htons, port
MOV sin.sin_port, ax
INVOKE inet_addr, ADDR proxyserver
LEA EAX, sin
INVOKE connect, socket, ADDR sin, sizeof sin
.IF EAX != SOCKET_ERROR
INVOKE MessageBox, NULL, NULL, NULL, NULL
INVOKE send, socket, ultrastring, 29, 0
.ENDIF
Thanks for reading !
Forginforcer
Greets Forinforcer
So what's the question :) ?
Thomas
Thomas
I want to communicate with my Proxy, but it doesnt work !
*cry cry cry cry* I read the RFS but nothin work !
Ehat I have to do ?
Thanks for reading !
*cry cry cry cry* I read the RFS but nothin work !
Ehat I have to do ?
Thanks for reading !
Stop asking that :mad: I've told you over and over that we're not going to explain it to you step by step. You've made a start, if you're stuck ask a question about the part that doesn't work (do some debugging) but don't just throw 10 lines of code at us asking 'I want a proxy, how?'.
Thomas
Thomas
Well said, Thomas :)
Forgin, familiarize yourself with a debugger, and perhaps better documentation than you currently have.
Forgin, familiarize yourself with a debugger, and perhaps better documentation than you currently have.
hm thanks for you tip, do you have some debugging tutorial ?
Better would be a decoumentation how to send a mail through a proxy.
I read a lot of stuff, but I not ablte do programm such a proc.
Better would be a decoumentation how to send a mail through a proxy.
I read a lot of stuff, but I not ablte do programm such a proc.
Then either keep on trying...
or go play with something else.
If you can't do it yourself and can't become a better code, buy a program that does what you need.
Or RentACoder ;)
or go play with something else.
If you can't do it yourself and can't become a better code, buy a program that does what you need.
Or RentACoder ;)
That wasn't funny.
I just want to mess around with the colll language masm and dont want a programm. I woul loke to do that by (myself).
Perhaps you have some resources ? - I asked 2 times about proxy programming.
I just want to mess around with the colll language masm and dont want a programm. I woul loke to do that by (myself).
Perhaps you have some resources ? - I asked 2 times about proxy programming.
It wasn't intended to be funny.
Thats good, because I'm very sad, because I want to reach my quest !
Please help me f0dder ! - Give me strong beats to think !
Please help me f0dder ! - Give me strong beats to think !
Have you ever tried www.google.com ?
Yes I have and i googled the whole google database, but I couldn't find anything. I'm seeking several days for resources.
*cry cry cry cry cry cry cry*
*cry cry cry cry cry cry cry*
Originally posted by Forginforcer
Yes I have and i googled the whole google database, but I couldn't find anything. I'm seeking several days for resources.
Yes I have and i googled the whole google database, but I couldn't find anything. I'm seeking several days for resources.
There's enough out there on the web, unless you're looking for the '10 step easy to follow guide to writing a network program using a proxy in MASM just the way I want it' which is what you're looking for I guess. There's protocol information, general info about proxies, networking & winsock tutorials, example code etc. etc.
It's really enough (if not too much) information to program a program that uses a proxy. But you still have to program it yourself, you can't program without programming :).
Programming is more than just knowing how to use the language. A far more important part of programming is knowing how to reach your goals: what algorithms to use, how to structure your program, divide the problem into subproblems. If you're not able to do that you won't be a good programmer (you can learn though).
Don't think we're making fun of you, we're not. I recommend you to start programming something easier first and try again later when you have enough experience to write such a program.
Thomas
P.S. I think I used the word program(ming) a bit often ;)
Perhaps a few links were good.:stupid:
But I will equidistantly run up again at google.:o
But I will equidistantly run up again at google.:o
Perhaps a few links were good.:stupid:
But I will equidistantly run up again at google.:o
http://www.asmcommunity.net/board/index.php?topic=8984
Dear bazik did you read my message to you ? - If not, I postet it in my other tread, i think can remeber.
I couldn find something about network/proxy programming.
Perhaps you have a specify link or so.
RFS helped me much !
P.S. Now I'm very sad. I sit the whole week in front of my PC and want to realize my quest of solution. Please give me a another hint. I want to learn, doenst matter how hard is it. And please dont me angry.
I couldn find something about network/proxy programming.
Perhaps you have a specify link or so.
RFS helped me much !
P.S. Now I'm very sad. I sit the whole week in front of my PC and want to realize my quest of solution. Please give me a another hint. I want to learn, doenst matter how hard is it. And please dont me angry.
Dear bazik did you read my message to you ? - If not, I postet it in my other tread, i think can remeber.
I couldn find something about network/proxy programming.
Perhaps you have a specify link or so.
RFS helped me much !
Yes I read it. And if you would read the description of the urls in the linked thread above, you would find some sites about assembly winsock programming.
I have read gudes about winsock programming.
And as you see, I learned how to connect to a remote PC, but it doesnt work with a proxy, thats all.:alright:
P.S. Google would thanks you, becaue of I'm seeking the wohle time, its slow down up to 50% ! :confused:
And as you see, I learned how to connect to a remote PC, but it doesnt work with a proxy, thats all.:alright:
P.S. Google would thanks you, becaue of I'm seeking the wohle time, its slow down up to 50% ! :confused:
thanks ! and in now I will help you:
http://www.google.de/search?q=I+need+therapy+as+soon+as+possible+i%27n+able+to+accept+myself+and+as+consequence+not+my+fellowman&ie=UTF-8&oe=UTF-8&hl=de&btnG=Google-Suche
Please dont play jokes on me, I just want to learn, and I you know the answer why you dont help me ?
1. I read a lot of tutorials(some RFC, 2 big Assembler books, icz. tuts)
2. I have tryed to programm that on my own
3. I have searched almost a week at google (as corollary, google get bankrupt)
4. I asked in a normal sound (First I conversaeted with you about the therory, and know I want to leran it in praces.)
More as reading(with understanding) and trying isn't possible.
If you dont want to help me, its okay, but please say it.
You could say "Forgin-Boy, I'm not intent to help you" - thent its okay, I will try to accept it.
Greets Forginforcer !
P.S. I dont want to anger someone !
http://www.google.de/search?q=I+need+therapy+as+soon+as+possible+i%27n+able+to+accept+myself+and+as+consequence+not+my+fellowman&ie=UTF-8&oe=UTF-8&hl=de&btnG=Google-Suche
Please dont play jokes on me, I just want to learn, and I you know the answer why you dont help me ?
1. I read a lot of tutorials(some RFC, 2 big Assembler books, icz. tuts)
2. I have tryed to programm that on my own
3. I have searched almost a week at google (as corollary, google get bankrupt)
4. I asked in a normal sound (First I conversaeted with you about the therory, and know I want to leran it in praces.)
More as reading(with understanding) and trying isn't possible.
If you dont want to help me, its okay, but please say it.
You could say "Forgin-Boy, I'm not intent to help you" - thent its okay, I will try to accept it.
Greets Forginforcer !
P.S. I dont want to anger someone !