| |
| |
| |
|
Page: 1 2 3 4 5 6
Comments:
<0> hi all <0> :] <0> can anyone help <0> me <1> wolfey saves <0> anyone know socket programming <2> Confuzzd: a bit yes <0> cool <0> i have got stuck <2> where? <0> i have implented a http or a web server <0> and i have done the socks4 proxy server <0> but i dont know how to connect to the http server by the proxy server <2> oh
<2> connect to port 80 <0> i havnt done much in the socks4 server <2> dunno exactly what socks4 does... but i guess it just routes data through? <0> there is a client who request from mozila using port 1080 to acces a data on the http server <0> so what socks4 does <2> well you should know not me <2> all i know it is proxy and it works <0> is that it gets the request checks and then connect to http server <0> and relays msgs <2> i guess so <0> now the problem is, in my socks proxy server i listen by socket server <3> Java has suddenly decided to crash on startup on the UML <0> but when i get the request i dont know how to connect to http server <3> It just knows that it's a holiday, I swear <1> Confuzzd, just open a socket? <0> serversocket or a socket? <1> socket <0> a socket with waht port adrs and ip adrs? <0> servers adrs? <1> the port the webserver listens on <2> default is 80 <1> and ofcourse the address of it <0> i did that but it gets stuck <1> stuck how? <2> Confuzzd: look <0> i get the request right(version number, command code...) but i dont get the html request like GET HTTP/1.1 <1> well you won't get that from the webserver <0> i know, im not getting from the client that is <1> maybe the client expects some handshake first <0> do i have to run the web server concurrently with the socks server? <1> yes <2> Confuzzd: look use more than one thread <2> if not, check ready() not just read() (cause it BLOCKS) <2> read waits for some input.. and stops there <0> threads? <0> thats why they say girls r stupid in programming? <0> ! <0> i meant <2> what? <2> :) <2> look honeybunny... natural would be at two threads, one that talks to web client other than talks to web server.. <2> and you exchange messages <2> if not be very careful how you loop this in one thread <0> im confuuzzzzzd <0> and fuzzzd <0> ;p <2> heh <0> listen can u take my code and take a look at it? <0> any one? <2> NOT ME <2> i can show my server code that works though;) <0> its probably confuzing <0> ;] <0> thanx 4 da offer <2> yes it's very badly written, but it works fast <2> https://netlines.dev.java.net/source/browse/netlines/src/netlines/ Service.java is game server, Client.java is client communication module <0> ok <0> i will take a look at it <2> Service loops to accept clients... for each client it creates a ServiceThread
<2> Client connects to Service <2> and they talk <0> lol <0> they talk <2> yes <2> very simple text line protocol <2> like...IRC <2> :) <0> :] <2> note here that ready() makes sure it doesnt block <0> im sure it iz <2> in.ready() <2> ready() means there IS a message waiting <2> if i would just readLine() it would stop there until there would be a message <2> == BLOCK <0> oh ok <0> i c <2> :) <2> another thing is about writing to output <2> until you call flush() all you write waits at your local buffer <2> only when you flush() it is sent <2> i think. at least for file stream. forgot about sockets <2> >>>:-> <4> trying to uninstall java because it appears like installed but i dont know why .. because it isnt installed and it isnt working.. trying to uninstall it and here is what i get: www.cosco.ro/1.JPG & www.cosco.ro/2.JPG <2> well can you remove it in control panel? <4> see the images first <2> i've seen.. fatal error during installatio <2> n <4> thats my question , have no ideea why installation , im just trying to uninstall it <4> when i press REMOVE i get that <2> okey <2> now since you are hardcore, you can MANUALLY uninstall <2> http://www.theeldergeek.com/manually_uninstall_programs.htm <2> http://support.microsoft.com/?scid=kb;en-us;290301 <2> microsoft made a nice tool <2> ;) <2> to do that <2> works ;) <4> well , i installed that tool <4> but have no ideea how to use it <2> run it.. select to uninstall java <2> it asks you what you want to clean <4> donno where to run it from , its not installed :\ <2> start all programs.. it should appear at end of list <4> it doesnt <2> i just used it at neighbor's <2> the other page tells how to do all yourself:P <4> omg <4> i will start a crysys <4> i install something <4> and it doesnt install <4> microsoft ****s big time <2> definetly:) but you are still using it <2> :) <2> so dont complain <2> trickz: if you want to keep on using windows, learn regedit <2> that's probably best tool to actually make it usable <2> cause you must understand... if registry is corrupted, NOTHING works <2> it migth be installed and everything <2> if registry entries are not proper, nothing works <4> wolfey <4> well <4> i tried with the manual remove <4> now <4> in add remove <4> i still have JRE2 <4> but no button for remove <4> or change <4> the buttons disapeared <4> :) <2> well did you try to close and open it again?
Return to
#java or Go to some related
logs:
zelko samrdzic #php killing_me_killing_you.mp3 -trobbija tal-hamiem namel zebbug pmode nasm vmware etoya undernet
#chatzone #london sip multiple redirects
|
|